wok-next annotate PyQt-x11-gpl/receipt @ rev 4637
Up: web-applications (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 24 18:22:10 2009 +0100 (2009-12-24) |
parents | 87879f415e06 |
children | 9554030e83f1 |
rev | line source |
---|---|
allan316@3297 | 1 # SliTaz package receipt. |
allan316@3297 | 2 |
allan316@3297 | 3 PACKAGE="PyQt-x11-gpl" |
allan316@3297 | 4 VERSION="4.5" |
allan316@3297 | 5 CATEGORY="development" |
allan316@3297 | 6 SHORT_DESC="PyQt" |
allan316@3297 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4350 | 8 DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \ |
allan316@4350 | 9 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \ |
allan316@4350 | 10 libQtDBus libQtClucene sip" |
allan316@4350 | 11 BUILD_DEPENDS="python-dev Qt4-dev qmake libQtDesigner libQtScript libQtCore \ |
allan316@4350 | 12 libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene \ |
allan316@4350 | 13 sip sip-dev" |
allan316@3297 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3297 | 15 WEB_SITE="http://www.riverbankcomputing.co.uk" |
allan316@3297 | 16 WGET_URL="$WEB_SITE/static/Downloads/PyQt4/$TARBALL" |
allan316@3297 | 17 |
allan316@3297 | 18 # Rules to configure and make the package. |
allan316@3297 | 19 compile_rules() |
allan316@3297 | 20 { |
allan316@3297 | 21 cd $src |
allan316@3297 | 22 yes yes | python configure.py |
allan316@3297 | 23 make |
allan316@3297 | 24 make DESTDIR=$PWD/_pkg install |
allan316@3297 | 25 } |
allan316@3297 | 26 |
allan316@3297 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3297 | 28 genpkg_rules() |
allan316@3297 | 29 { |
allan316@3297 | 30 mkdir -p $fs/usr |
allan316@3297 | 31 cp -a $_pkg/usr/bin $fs/usr |
allan316@3297 | 32 cp -a $_pkg/usr/lib $fs/usr |
allan316@3297 | 33 cp -a $_pkg/usr/share $fs/usr |
allan316@3297 | 34 strip -s $fs/usr/bin/* |
allan316@3297 | 35 } |
allan316@3297 | 36 |