Mercurial > hg > quicktun
comparison 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 |
comparison
equal
deleted
inserted
replaced
23:bd4259de8459 | 24:dfac56805c77 |
---|---|
4 rm -r data 2>/dev/null | 4 rm -r data 2>/dev/null |
5 cp -r static data | 5 cp -r static data |
6 mkdir -p data/usr data/usr/sbin data/DEBIAN | 6 mkdir -p data/usr data/usr/sbin data/DEBIAN |
7 sed "s/%ARCHITECTURE%/${ARCH}/" -i data/DEBIAN/control | 7 sed "s/%ARCHITECTURE%/${ARCH}/" -i data/DEBIAN/control |
8 sed "s/%VERSION%/${VERSION}/" -i data/DEBIAN/control | 8 sed "s/%VERSION%/${VERSION}/" -i data/DEBIAN/control |
9 if [ -n "${NACL_SHARED}" ]; then | |
10 sed "s/\\(Depends: .*\\)/\\1, libnacl | libnacl-ref | libnacl-build/" -i data/DEBIAN/control | |
11 fi | |
9 cp ../out/quicktun.raw data/usr/sbin/ | 12 cp ../out/quicktun.raw data/usr/sbin/ |
10 cp ../out/quicktun.nacl0 data/usr/sbin/ | 13 cp ../out/quicktun.nacl0 data/usr/sbin/ |
11 cp ../out/quicktun.nacltai data/usr/sbin/ | 14 cp ../out/quicktun.nacltai data/usr/sbin/ |
12 cp ../out/quicktun.debian data/usr/sbin/ | 15 cp ../out/quicktun.debian data/usr/sbin/ |
13 cp ../out/quicktun.keypair data/usr/sbin/ | 16 cp ../out/quicktun.keypair data/usr/sbin/ |