annotate debian/build.sh @ 14:d9dfeeaff7e8
V2.1.4
Added BSD support to build script, updated NaCl URL to new version, added version file
author |
Ivo Smits <Ivo@UCIS.nl> |
date |
Sat, 08 Jan 2011 03:52:25 +0100 |
parents |
65c01f57bdce |
children |
d2b0f399a9aa |
rev |
line source |
0
|
1 #!/bin/sh |
|
2 VERSION=`cat ../version`-0 |
|
3 ARCH=`dpkg --print-architecture` |
|
4 rm -r data 2>/dev/null |
|
5 cp -r static data |
|
6 mkdir -p data/usr data/usr/sbin data/DEBIAN |
|
7 sed "s/%ARCHITECTURE%/${ARCH}/" -i data/DEBIAN/control |
|
8 sed "s/%VERSION%/${VERSION}/" -i data/DEBIAN/control |
|
9 cp ../out/quicktun.debian data/usr/sbin/ |
|
10 cp ../out/quicktun.keypair data/usr/sbin/ |
|
11 fakeroot dpkg-deb --build data quicktun-${VERSION}_${ARCH}.deb |
|
12 mv quicktun*.deb ../out/ |