wok-next annotate pycurl/receipt @ rev 8677
Fixed libtaz & tazchroot tarball (thanks Godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Feb 17 00:46:18 2011 +0100 (2011-02-17) |
parents | |
children | 76b72f1ad63c |
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" |
slaxemulator@7569 | 8 DEPENDS="python libcurl" |
slaxemulator@7569 | 9 BUILD_DEPENDS="openssl-dev curl-dev python-dev" |
slaxemulator@7569 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7569 | 11 WEB_SITE="http://pycurl.sourceforge.net" |
slaxemulator@7569 | 12 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL" |
slaxemulator@7569 | 13 |
slaxemulator@7569 | 14 # Rules to configure and make the package. |
slaxemulator@7569 | 15 compile_rules() |
slaxemulator@7569 | 16 { |
slaxemulator@7569 | 17 cd $src |
slaxemulator@7569 | 18 python setup.py install --curl-config=/usr/bin/curl-config --prefix $PWD/_pkg/usr |
slaxemulator@7569 | 19 |
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 |
slaxemulator@7569 | 26 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7569 | 27 } |
slaxemulator@7569 | 28 |