wok-current rev 15352

urlgrabber: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 17:01:39 2013 +0000 (2013-09-30)
parents fb2225fbacf4
children 2bcf0c62df40
files pycurl/receipt urlgrabber/receipt
line diff
     1.1 --- a/pycurl/receipt	Mon Sep 30 16:39:29 2013 +0000
     1.2 +++ b/pycurl/receipt	Mon Sep 30 17:01:39 2013 +0000
     1.3 @@ -17,8 +17,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	python setup.py install --curl-config=/usr/bin/curl-config --prefix $PWD/_pkg/usr
     1.8 -
     1.9 +	python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/urlgrabber/receipt	Mon Sep 30 16:39:29 2013 +0000
     2.2 +++ b/urlgrabber/receipt	Mon Sep 30 17:01:39 2013 +0000
     2.3 @@ -5,24 +5,26 @@
     2.4  CATEGORY="development"
     2.5  SHORT_DESC="A high-level cross-protocol url-grabber and Python library."
     2.6  MAINTAINER="slaxemulator@gmail.com"
     2.7 -DEPENDS="python pycurl"
     2.8 -BUILD_DEPENDS="python-dev pycurl"
     2.9 +LICENSE="LGPL2.1"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://urlgrabber.baseurl.org/"
    2.12  WGET_URL="$WEB_SITE/download/$TARBALL"
    2.13  
    2.14 +DEPENDS="python pycurl"
    2.15 +BUILD_DEPENDS="python-dev pycurl"
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21 -	python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1
    2.22 +	python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28  	mkdir -p $fs/usr
    2.29 -	cp -a $_pkg/usr/bin $fs/usr
    2.30 -	cp -a $_pkg/usr/lib $fs/usr
    2.31 +	cp -a $install/usr/bin $fs/usr
    2.32 +	cp -a $install/usr/lib $fs/usr
    2.33  }
    2.34