wok annotate PyQt-x11-gpl/receipt @ rev 5034
tazbb: clean flavor status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 03 11:58:08 2010 +0100 (2010-03-03) |
parents | 9554030e83f1 |
children | 77d3079b16c0 |
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 \ |
pascal@4997 | 10 libQtDBus libQtClucene sip gcc-lib-base dbus" |
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 |
pascal@4998 | 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 |