wok-current annotate Qt4-dev/receipt @ rev 25629
Mass updates for current
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Wed Oct 11 18:45:46 2023 +0000 (2023-10-11) |
| parents | cb67b4f8be05 |
| children | 5926178cd6fa |
| rev | line source |
|---|---|
| allan316@1369 | 1 # SliTaz package receipt. |
| allan316@1369 | 2 |
| allan316@1369 | 3 PACKAGE="Qt4-dev" |
| psychomaniak@19568 | 4 VERSION="4.8.7" |
| allan316@1369 | 5 CATEGORY="development" |
| allan316@1369 | 6 SHORT_DESC="qt x11 toolkit" |
| allan316@1369 | 7 MAINTAINER="allan316@gmail.com" |
| pascal@15215 | 8 LICENSE="GPL3 LGPL2.1" |
| pascal@15215 | 9 SUGGESTED="libmng nvidia" |
| pascal@24746 | 10 WEB_SITE="https://qt-project.org/" |
| pascal@15215 | 11 WANTED="qt4" |
| pascal@15215 | 12 |
| slaxemulator@6976 | 13 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \ |
| pascal@2847 | 14 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ |
| slaxemulator@10082 | 15 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \ |
| slaxemulator@9182 | 16 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \ |
| pascal@19774 | 17 qtconfig gcc-lib-base pkg-config" |
| allan316@1369 | 18 |
| allan316@1369 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
| allan316@1369 | 20 genpkg_rules() |
| allan316@1369 | 21 { |
| monghitri@13992 | 22 mkdir -p $fs/usr/lib $fs/usr/include/private |
| pascal@15215 | 23 cp -a $install/usr/include $fs/usr |
| pascal@15215 | 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
| pascal@15215 | 25 cp -a $install/usr/lib/*.prl $fs/usr/lib/ |
| pascal@15215 | 26 cp -a $install/usr/share $fs/usr |
| pascal@15215 | 27 cp -a $install/usr/lib/qt $fs/usr/lib |
| monghitri@13992 | 28 |
| monghitri@13992 | 29 #private qt includes |
| monghitri@13992 | 30 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done |
| jozee@2818 | 31 |
| slaxemulator@10082 | 32 # all qt plugins are in libQtPlugins |
| slaxemulator@10082 | 33 rm -rf $fs/usr/lib/qt/plugins |
| jozee@2818 | 34 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages |
| pascal@15215 | 35 cp -a $install/usr/bin $fs/usr |
| jozee@2818 | 36 rm $fs/usr/bin/qmake |
| jozee@2818 | 37 rm $fs/usr/bin/designer |
| jozee@5369 | 38 # Linguist and assistant are now part of QTDesigner packages |
| jozee@5369 | 39 rm $fs/usr/bin/linguist |
| jozee@5369 | 40 rm $fs/usr/bin/assistant |
| slaxemulator@7065 | 41 # qtconfig packaged now in separate package |
| slaxemulator@7065 | 42 rm $fs/usr/bin/qtconfig |
| slaxemulator@7066 | 43 rm $fs/usr/share/qt/translations/qtconfig*.qm |
| allan316@1369 | 44 } |
| allan316@1369 | 45 |