wok-stable annotate Qt4-dev/receipt @ rev 5035
Up:mplayer-svn;improve compile_options; reduce deps and size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 03 11:21:08 2010 +0000 (2010-03-03) |
parents | fad7a3ac0115 |
children | 30f0edfdd2e4 |
rev | line source |
---|---|
allan316@1369 | 1 # SliTaz package receipt. |
allan316@1369 | 2 |
allan316@1369 | 3 PACKAGE="Qt4-dev" |
allan316@2813 | 4 VERSION="4.5.0" |
allan316@1369 | 5 CATEGORY="development" |
allan316@1369 | 6 SHORT_DESC="qt x11 toolkit" |
allan316@1369 | 7 MAINTAINER="allan316@gmail.com" |
pascal@2847 | 8 DEPENDS="QtDesigner jpeg tiff libpng libgl libglu \ |
pascal@2847 | 9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ |
pascal@2847 | 10 libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL \ |
pascal@4997 | 11 libQtScript libQtSql libQtWebkit gcc-lib-base" |
pascal@4997 | 12 SUGGESTED="libmng nvidia" |
allan316@1369 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@1369 | 14 WEB_SITE="http://www.trolltech.com" |
allan316@1369 | 15 WANTED="qt-x11-opensource-src" |
allan316@1369 | 16 |
allan316@1369 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1369 | 18 genpkg_rules() |
allan316@1369 | 19 { |
jozee@2942 | 20 mkdir -p $fs/usr/lib |
allan316@1369 | 21 cp -a $_pkg/usr/include $fs/usr |
jozee@2818 | 22 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
jozee@2818 | 23 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ |
jozee@2818 | 24 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/ |
jozee@2818 | 25 cp -a $_pkg/usr/share $fs/usr |
jozee@2818 | 26 cp -a $_pkg/usr/lib/qt $fs/usr/lib |
jozee@2818 | 27 |
jozee@2818 | 28 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages |
jozee@2818 | 29 cp -a $_pkg/usr/bin $fs/usr |
jozee@2818 | 30 rm $fs/usr/bin/qmake |
jozee@2818 | 31 rm $fs/usr/bin/designer |
jozee@2818 | 32 # Linguist and assistant are not yet seperate packages |
jozee@2818 | 33 #rm $fs/usr/bin/linguist |
jozee@2818 | 34 #rm $fs/usr/bin/assistant |
allan316@1369 | 35 } |
allan316@1369 | 36 |