wok-current view PyQt-x11-gpl/receipt @ rev 25731

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:28:03 2024 +0000 (2 months ago)
parents 73f36875e5a7
children 44184a322cfe
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"
19 HOST_ARCH="i486 x86_64"
21 current_version()
22 {
23 wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
24 sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 #sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py
31 python configure.py
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share $fs/usr
43 }