wok-current view Py3Qt-x11-gpl/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="Py3Qt-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="python3 libQtDesigner libQtScript libQtCore libQtGui \
15 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
16 libQtDBus libQtClucene sip3 gcc-lib-base dbus"
17 BUILD_DEPENDS="python3-dev sip3-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 sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py
30 python3 configure.py \
31 --confirm-license \
32 --dbus /usr/include/dbus-1.0
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share $fs/usr
44 }