SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sip"

# SliTaz package receipt.

PACKAGE="sip"
VERSION="4.19.25"    # last version for Python 2
CATEGORY="development"
SHORT_DESC="C/C++ Bindings Generator for Python v2 and v3."
MAINTAINER="allan316@gmail.com"
LICENSE="GPL2 GPL3"
WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
REPOLOGY="python:sip"

TARBALL="$PACKAGE-$VERSION.tar.gz"
#WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="gcc-lib-base python"
BUILD_DEPENDS="python-dev"

HOST_ARCH="i486 x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python configure.py &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)