# HG changeset patch # User Christopher Rogers # Date 1294591342 0 # Node ID 416fae9665008fd4ea67af9a297d26f0426f71b0 # Parent 02382626b06719e00a4f6ac339fb5100542d6041 Add urlgrabber. A high-level cross-protocol url-grabber and Python library. diff -r 02382626b067 -r 416fae966500 urlgrabber/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/urlgrabber/receipt Sun Jan 09 16:42:22 2011 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="urlgrabber" +VERSION="3.9.1" +CATEGORY="development" +SHORT_DESC="A high-level cross-protocol url-grabber and Python library." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="python pycurl" +BUILD_DEPENDS="python-dev pycurl" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://urlgrabber.baseurl.org/" +WGET_URL="$WEB_SITE/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +