wok-6.x view urlgrabber/receipt @ rev 20611

Up linux-libre (3.18.129) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 11:30:04 2018 +0100 (2018-12-18)
parents 4a6a57ff0b8c
children 78bea43b4006
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 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }