Mercurial > hg > quicktun
view debian/build.sh @ 19:3400045a57b8 V2.1.6
Version 2.1.6, changed sourcecode archive generation, use NaCl version 20110221, do not duplicate NaCl sourcecode, support iproute2 for persistent tunnel creation on Debian, support running as root on Debian, removed autogenerated header files
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 27 Feb 2011 22:42:27 +0100 |
parents | 65c01f57bdce |
children | d2b0f399a9aa |
line wrap: on
line source
#!/bin/sh VERSION=`cat ../version`-0 ARCH=`dpkg --print-architecture` rm -r data 2>/dev/null cp -r static data 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 cp ../out/quicktun.debian data/usr/sbin/ cp ../out/quicktun.keypair data/usr/sbin/ fakeroot dpkg-deb --build data quicktun-${VERSION}_${ARCH}.deb mv quicktun*.deb ../out/