wok rev 7916
Add urlgrabber. A high-level cross-protocol url-grabber and Python library.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 16:42:22 2011 +0000 (2011-01-09) |
parents | 02382626b067 |
children | b82d0e04f453 |
files | urlgrabber/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/urlgrabber/receipt Sun Jan 09 16:42:22 2011 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="urlgrabber" 1.7 +VERSION="3.9.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A high-level cross-protocol url-grabber and Python library." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="python pycurl" 1.12 +BUILD_DEPENDS="python-dev pycurl" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://urlgrabber.baseurl.org/" 1.15 +WGET_URL="$WEB_SITE/download/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $_pkg/usr/bin $fs/usr 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 +} 1.31 +