wok view PyQt-x11-gpl/receipt @ rev 4282
cdrdao: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 10:31:52 2009 +0200 (2009-09-26) |
parents | f39003bccef7 |
children | 5b0ae6252110 |
line source
1 # SliTaz package receipt.
3 PACKAGE="PyQt-x11-gpl"
4 VERSION="4.5"
5 CATEGORY="development"
6 SHORT_DESC="PyQt"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene"
9 BUILD_DEPENDS="python-dev Qt4-dev qmake libQtDesigner libQtScript libQtCore libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene sip sip-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.riverbankcomputing.co.uk"
12 WGET_URL="$WEB_SITE/static/Downloads/PyQt4/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 yes yes | python configure.py
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/share $fs/usr
30 strip -s $fs/usr/bin/*
31 }