wok-current view urlgrabber/receipt @ rev 15370

Up ipxe-pxe (1.0.0-20130925)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 14 15:05:05 2013 +0000 (2013-10-14)
parents 416fae966500
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="urlgrabber"
4 VERSION="3.9.1"
5 CATEGORY="development"
6 SHORT_DESC="A high-level cross-protocol url-grabber and Python library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://urlgrabber.baseurl.org/"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 DEPENDS="python pycurl"
14 BUILD_DEPENDS="python-dev pycurl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }