wok-4.x annotate PyQt-x11-gpl/receipt @ rev 9672

postfix: $stuff needed.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 03 11:06:46 2011 +0200 (2011-05-03)
parents a950065cb56c
children 3d5f4c238bca
rev   line source
allan316@3297 1 # SliTaz package receipt.
allan316@3297 2
allan316@3297 3 PACKAGE="PyQt-x11-gpl"
gokhlayeh@8608 4 VERSION="4.8.3"
allan316@3297 5 CATEGORY="development"
allan316@3297 6 SHORT_DESC="PyQt"
allan316@3297 7 MAINTAINER="allan316@gmail.com"
allan316@4350 8 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \
allan316@4350 9 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
pascal@4997 10 libQtDBus libQtClucene sip gcc-lib-base dbus"
pascal@5718 11 BUILD_DEPENDS="python-dev Qt4-dev qmake libQtDesigner libQtScript libQtCore \
allan316@4350 12 libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene \
allan316@4350 13 sip sip-dev"
allan316@3297 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3297 15 WEB_SITE="http://www.riverbankcomputing.co.uk"
allan316@3297 16 WGET_URL="$WEB_SITE/static/Downloads/PyQt4/$TARBALL"
allan316@3297 17
allan316@3297 18 # Rules to configure and make the package.
allan316@3297 19 compile_rules()
allan316@3297 20 {
allan316@3297 21 cd $src
slaxemulator@9038 22 yes yes | python configure.py --confirm-license
pascal@5798 23 make -j 4 &&
allan316@3297 24 make DESTDIR=$PWD/_pkg install
allan316@3297 25 }
allan316@3297 26
allan316@3297 27 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3297 28 genpkg_rules()
allan316@3297 29 {
allan316@3297 30 mkdir -p $fs/usr
allan316@3297 31 cp -a $_pkg/usr/bin $fs/usr
allan316@3297 32 cp -a $_pkg/usr/lib $fs/usr
allan316@3297 33 cp -a $_pkg/usr/share $fs/usr
allan316@3297 34 }
allan316@3297 35