SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "Py3Qt-x11-gpl"

# SliTaz package receipt.

PACKAGE="Py3Qt-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="python3 libQtDesigner libQtScript  libQtCore libQtGui \
libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
libQtDBus libQtClucene sip3 gcc-lib-base dbus"
BUILD_DEPENDS="python3-dev sip3-dev Qt4-dev qmake \
dbus-dev dbus-python-dev"

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
    python3 configure.py \
        --confirm-license \
        --dbus /usr/include/dbus-1.0
    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 209931 files in current database (Wed Jun 26 15:35:30 2024)