wok diff pycurl/receipt @ rev 9153
Add firmware receipt. This is firmware that can be repackage. As long as the license is in the package we are in the clear. NOTE: There is a lot more wanted packages for this to come.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Mar 07 02:21:03 2011 +0000 (2011-03-07) |
parents | |
children | 76b72f1ad63c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pycurl/receipt Mon Mar 07 02:21:03 2011 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pycurl" 1.7 +VERSION="7.19.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A Python interface to libcurl." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="python libcurl" 1.12 +BUILD_DEPENDS="openssl-dev curl-dev python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://pycurl.sourceforge.net" 1.15 +WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py install --curl-config=/usr/bin/curl-config --prefix $PWD/_pkg/usr 1.22 + 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 +} 1.31 +