wok-4.x annotate pycurl/receipt @ rev 9430
Add gource.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 31 03:38:34 2011 +0000 (2011-03-31) |
parents | |
children |
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 |