wok-stable view PyQt-x11-gpl/receipt @ rev 3370

Childsplay: Add post_install()
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 19:05:25 2009 +0000 (2009-06-11)
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 }