wok rev 15133

python-werkzeug: add TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 10:06:57 2013 +0000 (2013-08-15)
parents 20b9600c7f0c
children 2a35430dc9ab
files python-werkzeug/receipt tcpdump/receipt
line diff
     1.1 --- a/python-werkzeug/receipt	Thu Aug 15 09:42:46 2013 +0000
     1.2 +++ b/python-werkzeug/receipt	Thu Aug 15 10:06:57 2013 +0000
     1.3 @@ -6,8 +6,10 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="WSGI utility modules"
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="BSD"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://werkzeug.pocoo.org/"
    1.10 -GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
    1.11 +GIT_URL="https://github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
    1.12  
    1.13  DEPENDS="python"
    1.14  BUILD_DEPENDS="wget python python-dev setuptools"
    1.15 @@ -15,9 +17,11 @@
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 +	[ -s $SOURCES_REPOSITORY/TARBALL ] ||
    1.20 +		wget --no-check-certificate -O $SOURCES_REPOSITORY/TARBALL $GIT_URL
    1.21  	if [ ! -s $src ]; then
    1.22  		mkdir -p $(dirname $src)
    1.23 -		wget --no-check-certificate -O - $GIT_URL | tar xzf - &&
    1.24 +		tar xzf $SOURCES_REPOSITORY/TARBALL &&
    1.25  		mv mitsuhiko-werkzeug-$VERSION $src
    1.26  	fi
    1.27  	cd $src
     2.1 --- a/tcpdump/receipt	Thu Aug 15 09:42:46 2013 +0000
     2.2 +++ b/tcpdump/receipt	Thu Aug 15 10:06:57 2013 +0000
     2.3 @@ -5,6 +5,7 @@
     2.4  CATEGORY="security"
     2.5  SHORT_DESC="cli wire sniffer"
     2.6  MAINTAINER="sdaigl@lacitec.on.ca"
     2.7 +LICENSE="BSD"
     2.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.9  WEB_SITE="http://www.tcpdump.org/"
    2.10  WGET_URL="http://www.tcpdump.org/release/$TARBALL"
    2.11 @@ -20,12 +21,12 @@
    2.12  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.13  	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.14  	make
    2.15 -	make DESTDIR=$PWD/_pkg install
    2.16 +	make DESTDIR=$DESTDIR install
    2.17  }
    2.18  
    2.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.20  genpkg_rules()
    2.21  {
    2.22  	mkdir -p $fs/usr
    2.23 -	cp -a $_pkg/usr/sbin $fs/usr
    2.24 +	cp -a $install/usr/sbin $fs/usr
    2.25  }