SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pycurl"

# SliTaz package receipt.

PACKAGE="pycurl"
VERSION="7.45.1"
CATEGORY="development"
SHORT_DESC="A Python interface to libcurl."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="http://pycurl.io"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"

DEPENDS="libcurl python"
BUILD_DEPENDS="curl-dev openssl-dev python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/PYCURL [0-9]/!d;s|.*CURL ||;s|<.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    python    setup.py                \
        install                    \
        --curl-config=/usr/bin/curl-config    \
        --prefix $DESTDIR/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)