wok-stable view PyQt-x11-gpl/receipt @ rev 5638
linux: fix check_modules.sh and tiny improvment
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 28 16:16:06 2010 +0200 (2010-05-28) |
parents | 9554030e83f1 |
children | 77d3079b16c0 |
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 \
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
23 make &&
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 }