wok view pycurl/receipt @ rev 25030

giblib: inserted configure parameters
author Hans-G?nter Theisgen
date Fri May 20 10:23:32 2022 +0100 (2022-05-20)
parents 2f230197370e
children 8e2c3858ed67
line source
1 # SliTaz package receipt.
3 PACKAGE="pycurl"
4 VERSION="7.43.0.3"
5 CATEGORY="development"
6 SHORT_DESC="A Python interface to libcurl."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://pycurl.io"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="libcurl python"
15 BUILD_DEPENDS="curl-dev openssl-dev python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/PYCURL [0-9]/!d;s|.*CURL ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install \
28 --curl-config=/usr/bin/curl-config \
29 --prefix $DESTDIR/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }