# HG changeset patch # User Christopher Rogers # Date 1291871896 0 # Node ID 31fd7ff3769ffed0a484e11cc05ff9b2f86e725f # Parent 7a2e31b108ba9c4035d1ae846d68ab719a158e5f Add pycurl. diff -r 7a2e31b108ba -r 31fd7ff3769f pycurl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pycurl/receipt Thu Dec 09 05:18:16 2010 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pycurl" +VERSION="7.19.0" +CATEGORY="development" +SHORT_DESC="A Python interface to libcurl." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="python libcurl" +BUILD_DEPENDS="openssl-dev curl-dev python-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://pycurl.sourceforge.net" +WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --curl-config=/usr/bin/curl-config --prefix $PWD/_pkg/usr + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +