wok annotate PyQt-x11-gpl/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents a3b6dd3aac6f
children 48cd9a3a2474
rev   line source
allan316@3297 1 # SliTaz package receipt.
allan316@3297 2
allan316@3297 3 PACKAGE="PyQt-x11-gpl"
pascal@22428 4 SOURCE="PyQt4_gpl_x11"
pascal@22428 5 VERSION="4.12.3"
allan316@3297 6 CATEGORY="development"
allan316@3297 7 SHORT_DESC="PyQt"
allan316@3297 8 MAINTAINER="allan316@gmail.com"
pascal@15201 9 LICENSE="GPL"
pascal@25540 10 WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro"
pascal@22428 11 TARBALL="$SOURCE-$VERSION.tar.gz"
al@17791 12 WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
allan316@3297 13
slaxemulator@11032 14 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \
slaxemulator@11032 15 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
slaxemulator@11032 16 libQtDBus libQtClucene sip gcc-lib-base dbus"
al@17791 17 BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake"
slaxemulator@11032 18
pascal@24093 19 current_version()
pascal@24093 20 {
pascal@24093 21 wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
pascal@24093 22 sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24093 23 }
pascal@24093 24
allan316@3297 25 # Rules to configure and make the package.
allan316@3297 26 compile_rules()
allan316@3297 27 {
pascal@22428 28 sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py
pascal@22428 29 python configure.py
gokhlayeh@11574 30 make $MAKEFLAGS &&
slaxemulator@11032 31 make DESTDIR=$DESTDIR install
allan316@3297 32 }
allan316@3297 33
allan316@3297 34 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3297 35 genpkg_rules()
allan316@3297 36 {
allan316@3297 37 mkdir -p $fs/usr
slaxemulator@11032 38 cp -a $install/usr/bin $fs/usr
slaxemulator@11032 39 cp -a $install/usr/lib $fs/usr
slaxemulator@11032 40 cp -a $install/usr/share $fs/usr
allan316@3297 41 }