wok view urlgrabber/receipt @ rev 22832

cortex libQtMimeTypes: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 13:09:52 2020 +0100 (2020-02-08)
parents 78bea43b4006
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="urlgrabber"
4 VERSION="4.0.0"
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 WEB_SITE="http://urlgrabber.baseurl.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="pycurl python"
15 BUILD_DEPENDS="pycurl python-dev python-setuptools python-six"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }