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

Fix removing pyconfig.h file from python-dev.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 01 16:49:17 2010 +0000 (2010-12-01)
parents 25188812f0eb
children 115677aa0372
rev   line source
allan316@3297 1 # SliTaz package receipt.
allan316@3297 2
allan316@3297 3 PACKAGE="PyQt-x11-gpl"
slaxemulator@7072 4 VERSION="4.8.1"
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