wok-next annotate Qt4-dev/receipt @ rev 9123
bzlib: fix version in genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 17:49:38 2011 +0100 (2011-03-05) |
parents | 568b7f4604a2 |
children | 492d81d36df5 |
rev | line source |
---|---|
allan316@1369 | 1 # SliTaz package receipt. |
allan316@1369 | 2 |
allan316@1369 | 3 PACKAGE="Qt4-dev" |
slaxemulator@7209 | 4 VERSION="4.7.1" |
allan316@1369 | 5 CATEGORY="development" |
allan316@1369 | 6 SHORT_DESC="qt x11 toolkit" |
allan316@1369 | 7 MAINTAINER="allan316@gmail.com" |
slaxemulator@6976 | 8 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \ |
pascal@2847 | 9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ |
pascal@2847 | 10 libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL \ |
slaxemulator@8666 | 11 libQtScript libQtSql libQtWebkit libQtTest qtconfig gcc-lib-base" |
pascal@4997 | 12 SUGGESTED="libmng nvidia" |
slaxemulator@5353 | 13 WEB_SITE="http://qt.nokia.com/" |
jozee@5369 | 14 WANTED="qt4" |
jozee@5369 | 15 SOURCE="qt-everywhere-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@5369 | 32 # Linguist and assistant are now part of QTDesigner packages |
jozee@5369 | 33 rm $fs/usr/bin/linguist |
jozee@5369 | 34 rm $fs/usr/bin/assistant |
slaxemulator@7065 | 35 # qtconfig packaged now in separate package |
slaxemulator@7065 | 36 rm $fs/usr/bin/qtconfig |
slaxemulator@7066 | 37 rm $fs/usr/share/qt/translations/qtconfig*.qm |
allan316@1369 | 38 } |
allan316@1369 | 39 |