wok-current rev 8477
Fixed aescrypt to work with new tazwok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 19:11:59 2011 +0000 (2011-02-07) |
parents | 03933a919f81 |
children | a5853667a4a4 |
files | aescrypt/receipt |
line diff
1.1 --- a/aescrypt/receipt Mon Feb 07 18:38:32 2011 +0000 1.2 +++ b/aescrypt/receipt Mon Feb 07 19:11:59 2011 +0000 1.3 @@ -15,12 +15,12 @@ 1.4 { 1.5 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.6 tar xzf $SOURCES_REPOSITORY/$TARBALL 1.7 - else 1.8 + elif [ ! -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma ]; then 1.9 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.10 wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET" 1.11 tar xzf $SOURCES_REPOSITORY/$TARBALL 1.12 fi 1.13 - src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source 1.14 + [ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source 1.15 cd $src 1.16 make 1.17 } 1.18 @@ -28,7 +28,7 @@ 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source 1.23 + [ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source 1.24 mkdir -p $fs/usr/bin 1.25 cp -a $src/aescrypt $fs/usr/bin 1.26 }