wok view pycurl/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents f6e3d297bb6f
children affc6fdda56c
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://dl.bintray.com/$PACKAGE/$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 }