wok-next view urlgrabber/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
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 }