SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "PyQt-x11-gpl"

# SliTaz package receipt.

PACKAGE="PyQt-x11-gpl"
SOURCE="PyQt4_gpl_x11"
VERSION="4.12.3"
CATEGORY="development"
SHORT_DESC="PyQt"
MAINTAINER="allan316@gmail.com"
LICENSE="GPL"
WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/pyqt/$TARBALL"

DEPENDS="python libQtDesigner libQtScript  libQtCore libQtGui \
libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
libQtDBus libQtClucene sip gcc-lib-base dbus"
BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake"

current_version()
{
    wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
    sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|sys.stdin.readline()|"yes"    # &|' configure.py
    python configure.py
    make $MAKEFLAGS &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share $fs/usr
}
6047 packages and 205722 files in current database (Sun Jun 16 09:23:30 2024)