wok diff aescrypt/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents f9b49701bf22
children f4c22f009037
line diff
     1.1 --- a/aescrypt/receipt	Mon Feb 07 19:11:59 2011 +0000
     1.2 +++ b/aescrypt/receipt	Fri Aug 23 18:59:48 2013 +0000
     1.3 @@ -8,19 +8,11 @@
     1.4  DEPENDS="glibc-base"
     1.5  TARBALL="${PACKAGE}${VERSION}_source.tar.gz"
     1.6  WEB_SITE="http://www.aescrypt.com/"
     1.7 -WGET="http://www.aescrypt.com/cgi-bin/download?file=v3/$TARBALL"
     1.8 +WGET_URL="http://www.aescrypt.com/cgi-bin/download?file=v3/$TARBALL"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.14 -		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.15 -	elif [ ! -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma ]; then
    1.16 -		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.17 -		wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET"
    1.18 -		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.19 -	fi
    1.20 -	[ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
    1.21  	cd $src
    1.22  	make
    1.23  }
    1.24 @@ -28,7 +20,6 @@
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	[ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
    1.29  	mkdir -p $fs/usr/bin
    1.30  	cp -a $src/aescrypt $fs/usr/bin
    1.31  }