wok-4.x view urlgrabber/receipt @ rev 10758

nanochess: get source in $SOURCES_REPOSITORY (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 11:51:33 2011 +0200 (2011-05-31)
parents
children
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 }