~ubuntu-branches/ubuntu/oneiric/oss4/oneiric-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

. ./.directories

VERSION=`sh showversion.sh`
RELEASE=`cat buildid.dat`
OSSNAME=oss-linux
PKGNAME=$OSSNAME-$VERSION-$RELEASE-`uname -m`

echo building $PKGNAME.tar.bz2
#cp ./setup/Linux/installoss.sh prototype
cp ./setup/Linux/removeoss.sh prototype/$OSSLIBDIR/scripts
(cd prototype; find . -type f -print) > prototype/$OSSLIBDIR/MANIFEST
(cd prototype; tar cfj /tmp/$PKGNAME.tar.bz2 . )
mv /tmp/$PKGNAME.tar.bz2 .

if test -f 4front-private/export_package.sh
then
  sh 4front-private/export_package.sh $PKGNAME.tar.bz2 . `sh showversion.sh` /tmp `uname -m`-26
fi

exit 0