wok-6.x view pycurl/receipt @ rev 16476

ARM: add python-routes + python-serial (but main python dont cook anymore)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 22:49:42 2014 +0200 (2014-04-22)
parents 76b72f1ad63c
children 16df76e1fc6a
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 cd $src
20 python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }