SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sip-pyqt"

# SliTaz package receipt.

PACKAGE="sip-pyqt"
SOURCE="sip"
VERSION="4.19.25"    # last version for Python 2
CATEGORY="development"
SHORT_DESC="PyQt sip module."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2 GPL3"
WEB_SITE="https://github.com/Python-SIP/sip"
REPOLOGY="python:sip"

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

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

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

# Rules to configure and make the package.
compile_rules()
{
    python configure.py --sip-module PyQt4.sip --no-tools &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)