fixed packaging on ubuntu with DHT

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-10-05 10:54:00 +00:00
parent 55a4d4d1e1
commit 4db463a4dc
2 changed files with 15 additions and 7 deletions
build_scripts/Ubuntu_src

@ -6,13 +6,21 @@ echo - remove existing sources packages in the current directory
echo - build a new source package from the svn
echo - rebuild the source package for the karmic i386 arch.
echo
echo Type ^C to abort, or \[ENTER\] to continue
read tmp
rm -rf ./retroshare-0.5
./clean.sh
./makeSourcePackage.sh
echo attempting to get svn revision number...
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
sudo pbuilder build *.dsc
echo Type ^C to abort, or enter to continue
read
# rm -rf ./retroshare-0.5
# ./clean.sh
# ./makeSourcePackage.sh
for dist in lucid; do
for arch in amd64; do
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist "$dist" build *.dsc
cp /var/cache/pbuilder/"$dist"_result/retroshare_0.5-1_"$arch".deb ./RetroShare_0.5.1."$svn"_"$dist"_"$arch".deb
done
done
cp /var/cache/pbuilder/result/retroshare_0.5-1_i386.deb .