Mercurial > hg > quicktun
diff debian/build.sh @ 24:dfac56805c77
Fixed support for shared NaCl library, explicitly refer to cryptographic primitives
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Mon, 28 Feb 2011 19:28:18 +0100 |
parents | d2b0f399a9aa |
children | f80422b612ab |
line wrap: on
line diff
--- a/debian/build.sh Mon Feb 28 16:32:48 2011 +0100 +++ b/debian/build.sh Mon Feb 28 19:28:18 2011 +0100 @@ -6,6 +6,9 @@ mkdir -p data/usr data/usr/sbin data/DEBIAN sed "s/%ARCHITECTURE%/${ARCH}/" -i data/DEBIAN/control sed "s/%VERSION%/${VERSION}/" -i data/DEBIAN/control +if [ -n "${NACL_SHARED}" ]; then + sed "s/\\(Depends: .*\\)/\\1, libnacl | libnacl-ref | libnacl-build/" -i data/DEBIAN/control +fi cp ../out/quicktun.raw data/usr/sbin/ cp ../out/quicktun.nacl0 data/usr/sbin/ cp ../out/quicktun.nacltai data/usr/sbin/