wok-6.x annotate pycurl/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 16df76e1fc6a |
children | 2f230197370e |
rev | line source |
---|---|
slaxemulator@7569 | 1 # SliTaz package receipt. |
slaxemulator@7569 | 2 |
slaxemulator@7569 | 3 PACKAGE="pycurl" |
Hans-G?nter@23460 | 4 VERSION="7.43.0.3" |
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" |
Hans-G?nter@23460 | 9 WEB_SITE="http://pycurl.io" |
Hans-G?nter@23460 | 10 |
slaxemulator@7569 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23460 | 12 WGET_URL="https://dl.bintray.com/$PACKAGE/$PACKAGE/$TARBALL" |
slaxemulator@7569 | 13 |
Hans-G?nter@23460 | 14 DEPENDS="libcurl python" |
Hans-G?nter@23460 | 15 BUILD_DEPENDS="curl-dev openssl-dev python-dev" |
pascal@14996 | 16 |
slaxemulator@7569 | 17 # Rules to configure and make the package. |
slaxemulator@7569 | 18 compile_rules() |
slaxemulator@7569 | 19 { |
Hans-G?nter@23460 | 20 python setup.py install \ |
Hans-G?nter@23460 | 21 --curl-config=/usr/bin/curl-config \ |
Hans-G?nter@23460 | 22 --prefix $DESTDIR/usr |
slaxemulator@7569 | 23 } |
slaxemulator@7569 | 24 |
slaxemulator@7569 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7569 | 26 genpkg_rules() |
slaxemulator@7569 | 27 { |
slaxemulator@7569 | 28 mkdir -p $fs/usr |
Hans-G?nter@23460 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@7569 | 30 } |