wok-current view pycurl/receipt @ rev 9445
slitaz-doc: add system-doc.desktop
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sat Apr 02 01:31:20 2011 +0200 (2011-04-02) | 
| parents | |
| children | 76b72f1ad63c | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="pycurl"
     4 VERSION="7.19.0"
     5 CATEGORY="development"
     6 SHORT_DESC="A Python interface to libcurl."
     7 MAINTAINER="slaxemulator@gmail.com"
     8 DEPENDS="python libcurl"
     9 BUILD_DEPENDS="openssl-dev curl-dev python-dev"
    10 TARBALL="$PACKAGE-$VERSION.tar.gz"
    11 WEB_SITE="http://pycurl.sourceforge.net"
    12 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL"
    14 # Rules to configure and make the package.
    15 compile_rules()
    16 {
    17 	cd $src
    18 	python setup.py install --curl-config=/usr/bin/curl-config --prefix $PWD/_pkg/usr
    20 }
    22 # Rules to gen a SliTaz package suitable for Tazpkg.
    23 genpkg_rules()
    24 {
    25 	mkdir -p $fs/usr
    26 	cp -a $_pkg/usr/lib $fs/usr
    27 }