wok-6.x annotate pycurl/receipt @ rev 17939

partimage: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 09:53:08 2015 +0200 (2015-04-15)
parents 76b72f1ad63c
children 16df76e1fc6a
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"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@7569 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7569 10 WEB_SITE="http://pycurl.sourceforge.net"
slaxemulator@7569 11 WGET_URL="http://pycurl.sourceforge.net/download/$TARBALL"
slaxemulator@7569 12
pascal@14996 13 DEPENDS="python libcurl"
pascal@14996 14 BUILD_DEPENDS="openssl-dev curl-dev python-dev"
pascal@14996 15
slaxemulator@7569 16 # Rules to configure and make the package.
slaxemulator@7569 17 compile_rules()
slaxemulator@7569 18 {
slaxemulator@7569 19 cd $src
pascal@15352 20 python setup.py install --curl-config=/usr/bin/curl-config --prefix $DESTDIR/usr
slaxemulator@7569 21 }
slaxemulator@7569 22
slaxemulator@7569 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7569 24 genpkg_rules()
slaxemulator@7569 25 {
slaxemulator@7569 26 mkdir -p $fs/usr
pascal@14996 27 cp -a $install/usr/lib $fs/usr
slaxemulator@7569 28 }
slaxemulator@7569 29