From 6d26b19269a28ff576e872473cb3b4610a61fceb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 11 Oct 2009 19:36:32 +0200 Subject: make more apps statically linkable - update libusb to latest upstream - update bluez to latest upstream - add a new PKG_OPTS option: libonly, useful for library only packages, which are not created, when static linking is choosen --- scripts/tarpkg | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'scripts/tarpkg') diff --git a/scripts/tarpkg b/scripts/tarpkg index c126af594..818f99ea7 100755 --- a/scripts/tarpkg +++ b/scripts/tarpkg @@ -9,16 +9,11 @@ if [ "$1" = "build" ];then pkgname=$(grep "^Package:" $2/CONTROL/control | sed -e "s/^[^:]*:[[:space:]]*//") version=$(grep "^Version:" $2/CONTROL/control | sed -e "s/^[^:]*:[[:space:]]*//") arch=$(grep "^Architecture:" $2/CONTROL/control | sed -e "s/^[^:]*:[[:space:]]*//") - cd $2 - rm -rf CONTROL - tar -czf $3/${pkgname}_${version}_${arch}.tar.gz . - cd - - exit 0 + rm -rf $2/CONTROL + (cd $2 && tar -czf $3/${pkgname}_${version}_${arch}.tar.gz .) elif [ "$1" = "install" ];then tar -xzpf $2 -C ${INSTROOT} - exit 0 else echo "unknown command" exit 1 fi -exit 0 -- cgit v1.2.3