wok view PyQt-x11-gpl/receipt @ rev 6838
merge
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Oct 19 21:33:59 2010 -0400 (2010-10-19) |
parents | d3e28de5e48e |
children | 25188812f0eb |
line source
1 # SliTaz package receipt.
3 PACKAGE="PyQt-x11-gpl"
4 VERSION="4.7.7"
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 strip -s $fs/usr/bin/*
35 }