wok annotate pycurl/receipt @ rev 25748
xfce4-clipman-plugin, xfce4-notifyd, xfce4-volumed: replaced dependency libxfconf by xfconf
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 31 09:56:34 2024 +0100 (4 months ago) |
parents | affc6fdda56c |
children |
rev | line source |
---|---|
slaxemulator@7569 | 1 # SliTaz package receipt. |
slaxemulator@7569 | 2 |
slaxemulator@7569 | 3 PACKAGE="pycurl" |
Hans-G?nter@25162 | 4 VERSION="7.45.1" |
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" |
pascal@25012 | 12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$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 |
pascal@24459 | 17 # What is the latest version available today? |
pascal@24459 | 18 current_version() |
pascal@24459 | 19 { |
pascal@24459 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24459 | 21 sed '/PYCURL [0-9]/!d;s|.*CURL ||;s|<.*||' |
pascal@24459 | 22 } |
pascal@24459 | 23 |
slaxemulator@7569 | 24 # Rules to configure and make the package. |
slaxemulator@7569 | 25 compile_rules() |
slaxemulator@7569 | 26 { |
Hans-G?nter@25162 | 27 python setup.py \ |
Hans-G?nter@25162 | 28 install \ |
Hans-G?nter@23460 | 29 --curl-config=/usr/bin/curl-config \ |
Hans-G?nter@23460 | 30 --prefix $DESTDIR/usr |
slaxemulator@7569 | 31 } |
slaxemulator@7569 | 32 |
slaxemulator@7569 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7569 | 34 genpkg_rules() |
slaxemulator@7569 | 35 { |
Hans-G?nter@25162 | 36 cook_copy_folders lib |
slaxemulator@7569 | 37 } |