wok view PyQt-x11-gpl/receipt @ rev 25785

Add sip-pyqt and update PyQt-x11-gpl for ffado-mixer
author Stanislas Leduc <shann@slitaz.org>
date Tue Sep 24 21:45:20 2024 +0200 (8 weeks ago)
parents 73f36875e5a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="PyQt-x11-gpl"
4 SOURCE="PyQt4_gpl_x11"
5 VERSION="4.12.3"
6 CATEGORY="development"
7 SHORT_DESC="PyQt"
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
14 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \
15 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
16 libQtDBus libQtClucene sip gcc-lib-base dbus"
17 BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake \
18 dbus-dev dbus-python-dev"
20 current_version()
21 {
22 wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
23 sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python configure.py \
30 --confirm-license
31 make $MAKEFLAGS &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share $fs/usr
42 }