wok view PyQt-x11-gpl/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | f7dd6559d610 |
children | 73f36875e5a7 |
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="http://www.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 current_version()
20 {
21 wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
22 sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py
29 python configure.py
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }