wok view pycurl/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 4a6a57ff0b8c
children f6e3d297bb6f
line source
1 # SliTaz package receipt.
3 PACKAGE="pycurl"
4 VERSION="7.19.0"
5 CATEGORY="development"
6 SHORT_DESC="A Python interface to libcurl."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pycurl.sourceforge.net"
11 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL"
13 DEPENDS="python libcurl"
14 BUILD_DEPENDS="openssl-dev curl-dev python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr
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/lib $fs/usr
27 }