wok-6.x view PyQt-x11-gpl/receipt @ rev 10303

pkg-config: use TOOLPREFIX like binutils to make cross compilation happy
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 02:12:16 2011 +0200 (2011-05-22)
parents a950065cb56c
children 3d5f4c238bca
line source
1 # SliTaz package receipt.
3 PACKAGE="PyQt-x11-gpl"
4 VERSION="4.8.3"
5 CATEGORY="development"
6 SHORT_DESC="PyQt"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \
9 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
10 libQtDBus libQtClucene sip gcc-lib-base dbus"
11 BUILD_DEPENDS="python-dev Qt4-dev qmake libQtDesigner libQtScript libQtCore \
12 libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene \
13 sip sip-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://www.riverbankcomputing.co.uk"
16 WGET_URL="$WEB_SITE/static/Downloads/PyQt4/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 yes yes | python configure.py --confirm-license
23 make -j 4 &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 }