wok-current annotate Qt4-dev/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (3 months ago) |
parents | a23978bfa665 |
children |
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 |
shann@25728 | 19 HOST_ARCH="i486 x86_64" |
shann@25728 | 20 |
allan316@1369 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1369 | 22 genpkg_rules() |
allan316@1369 | 23 { |
monghitri@13992 | 24 mkdir -p $fs/usr/lib $fs/usr/include/private |
pascal@15215 | 25 cp -a $install/usr/include $fs/usr |
pascal@15215 | 26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@15215 | 27 cp -a $install/usr/lib/*.prl $fs/usr/lib/ |
pascal@15215 | 28 cp -a $install/usr/share $fs/usr |
pascal@15215 | 29 cp -a $install/usr/lib/qt $fs/usr/lib |
monghitri@13992 | 30 |
monghitri@13992 | 31 #private qt includes |
monghitri@13992 | 32 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done |
jozee@2818 | 33 |
slaxemulator@10082 | 34 # all qt plugins are in libQtPlugins |
slaxemulator@10082 | 35 rm -rf $fs/usr/lib/qt/plugins |
jozee@2818 | 36 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages |
pascal@15215 | 37 cp -a $install/usr/bin $fs/usr |
jozee@2818 | 38 rm $fs/usr/bin/qmake |
jozee@2818 | 39 rm $fs/usr/bin/designer |
jozee@5369 | 40 # Linguist and assistant are now part of QTDesigner packages |
jozee@5369 | 41 rm $fs/usr/bin/linguist |
jozee@5369 | 42 rm $fs/usr/bin/assistant |
slaxemulator@7065 | 43 # qtconfig packaged now in separate package |
slaxemulator@7065 | 44 rm $fs/usr/bin/qtconfig |
slaxemulator@7066 | 45 rm $fs/usr/share/qt/translations/qtconfig*.qm |
allan316@1369 | 46 } |
allan316@1369 | 47 |