wok view pycurl/receipt @ rev 25793

reverted version 4.14.1 to 4.12.0 for xfconf packages
author Hans-G?nter Theisgen
date Wed Oct 23 15:16:12 2024 +0100 (7 days ago)
parents affc6fdda56c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pycurl"
4 VERSION="7.45.1"
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 \
28 install \
29 --curl-config=/usr/bin/curl-config \
30 --prefix $DESTDIR/usr
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders lib
37 }