wok-next annotate PyQt-x11-gpl/receipt @ rev 8863

nqc needs -j1 to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 03:58:13 2011 +0100 (2011-02-26)
parents 115677aa0372
children cc0d309b30c0
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@5759 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 strip -s $fs/usr/bin/*
allan316@3297 35 }
allan316@3297 36