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

ppp: build rp-pppoe.so (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 11:17:36 2012 +0100 (2012-02-25)
parents
children 4a6a57ff0b8c
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 DEPENDS="python pycurl"
9 BUILD_DEPENDS="python-dev pycurl"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://urlgrabber.baseurl.org/"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }