wok-4.x annotate Qt4-dev/receipt @ rev 12367
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:24:30 2013 +0100 (2013-01-02) |
parents | 94abe4617312 |
children |
rev | line source |
---|---|
allan316@1369 | 1 # SliTaz package receipt. |
allan316@1369 | 2 |
allan316@1369 | 3 PACKAGE="Qt4-dev" |
slaxemulator@10082 | 4 VERSION="4.7.3" |
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 \ |
slaxemulator@10082 | 10 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \ |
slaxemulator@9182 | 11 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \ |
slaxemulator@9182 | 12 qtconfig gcc-lib-base" |
pascal@4997 | 13 SUGGESTED="libmng nvidia" |
slaxemulator@5353 | 14 WEB_SITE="http://qt.nokia.com/" |
jozee@5369 | 15 WANTED="qt4" |
jozee@5369 | 16 SOURCE="qt-everywhere-opensource-src" |
allan316@1369 | 17 |
allan316@1369 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1369 | 19 genpkg_rules() |
allan316@1369 | 20 { |
jozee@2942 | 21 mkdir -p $fs/usr/lib |
allan316@1369 | 22 cp -a $_pkg/usr/include $fs/usr |
jozee@2818 | 23 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
jozee@2818 | 24 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ |
jozee@2818 | 25 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/ |
jozee@2818 | 26 cp -a $_pkg/usr/share $fs/usr |
jozee@2818 | 27 cp -a $_pkg/usr/lib/qt $fs/usr/lib |
jozee@2818 | 28 |
slaxemulator@10082 | 29 # all qt plugins are in libQtPlugins |
slaxemulator@10082 | 30 rm -rf $fs/usr/lib/qt/plugins |
jozee@2818 | 31 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages |
jozee@2818 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@2818 | 33 rm $fs/usr/bin/qmake |
jozee@2818 | 34 rm $fs/usr/bin/designer |
jozee@5369 | 35 # Linguist and assistant are now part of QTDesigner packages |
jozee@5369 | 36 rm $fs/usr/bin/linguist |
jozee@5369 | 37 rm $fs/usr/bin/assistant |
slaxemulator@7065 | 38 # qtconfig packaged now in separate package |
slaxemulator@7065 | 39 rm $fs/usr/bin/qtconfig |
slaxemulator@7066 | 40 rm $fs/usr/share/qt/translations/qtconfig*.qm |
allan316@1369 | 41 } |
allan316@1369 | 42 |