wok-current view 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 (2 weeks ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.8.7"
5 CATEGORY="development"
6 SHORT_DESC="qt x11 toolkit"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL3 LGPL2.1"
9 SUGGESTED="libmng nvidia"
10 WEB_SITE="https://qt-project.org/"
11 WANTED="qt4"
13 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
14 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
15 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \
16 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \
17 qtconfig gcc-lib-base pkg-config"
19 HOST_ARCH="i486 x86_64"
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib $fs/usr/include/private
25 cp -a $install/usr/include $fs/usr
26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
27 cp -a $install/usr/lib/*.prl $fs/usr/lib/
28 cp -a $install/usr/share $fs/usr
29 cp -a $install/usr/lib/qt $fs/usr/lib
31 #private qt includes
32 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
34 # all qt plugins are in libQtPlugins
35 rm -rf $fs/usr/lib/qt/plugins
36 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
37 cp -a $install/usr/bin $fs/usr
38 rm $fs/usr/bin/qmake
39 rm $fs/usr/bin/designer
40 # Linguist and assistant are now part of QTDesigner packages
41 rm $fs/usr/bin/linguist
42 rm $fs/usr/bin/assistant
43 # qtconfig packaged now in separate package
44 rm $fs/usr/bin/qtconfig
45 rm $fs/usr/share/qt/translations/qtconfig*.qm
46 }