wok-next view urlgrabber/receipt @ rev 12233
Up:ocsinventory-agent (2.0.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 12:02:13 2012 +0200 (2012-04-09) |
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 }