wok view pycurl/receipt @ rev 24808
updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:29:00 2022 +0100 (2022-03-22) |
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 }