wok annotate pycurl/receipt @ rev 18562
Up slitaz-tools(957)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 08 22:10:36 2015 +0200 (2015-11-08) |
parents | 4a6a57ff0b8c |
children | f6e3d297bb6f |
rev | line source |
---|---|
slaxemulator@7569 | 1 # SliTaz package receipt. |
slaxemulator@7569 | 2 |
slaxemulator@7569 | 3 PACKAGE="pycurl" |
slaxemulator@7569 | 4 VERSION="7.19.0" |
slaxemulator@7569 | 5 CATEGORY="development" |
slaxemulator@7569 | 6 SHORT_DESC="A Python interface to libcurl." |
slaxemulator@7569 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@7569 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7569 | 10 WEB_SITE="http://pycurl.sourceforge.net" |
slaxemulator@7569 | 11 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL" |
slaxemulator@7569 | 12 |
pascal@14996 | 13 DEPENDS="python libcurl" |
pascal@14996 | 14 BUILD_DEPENDS="openssl-dev curl-dev python-dev" |
pascal@14996 | 15 |
slaxemulator@7569 | 16 # Rules to configure and make the package. |
slaxemulator@7569 | 17 compile_rules() |
slaxemulator@7569 | 18 { |
pascal@15352 | 19 python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr |
slaxemulator@7569 | 20 } |
slaxemulator@7569 | 21 |
slaxemulator@7569 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7569 | 23 genpkg_rules() |
slaxemulator@7569 | 24 { |
slaxemulator@7569 | 25 mkdir -p $fs/usr |
pascal@14996 | 26 cp -a $install/usr/lib $fs/usr |
slaxemulator@7569 | 27 } |