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

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
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 }