wok view Qt4-dev/receipt @ rev 15441
Up: eio (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:45 2013 +0100 (2013-11-05) |
parents | 68ec33732967 |
children | 28d590d94cce |
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.8.4"
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="http://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"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib $fs/usr/include/private
23 cp -a $install/usr/include $fs/usr
24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
25 cp -a $install/usr/lib/*.*a $fs/usr/lib/
26 cp -a $install/usr/lib/*.prl $fs/usr/lib/
27 cp -a $install/usr/share $fs/usr
28 cp -a $install/usr/lib/qt $fs/usr/lib
30 #private qt includes
31 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
33 # all qt plugins are in libQtPlugins
34 rm -rf $fs/usr/lib/qt/plugins
35 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
36 cp -a $install/usr/bin $fs/usr
37 rm $fs/usr/bin/qmake
38 rm $fs/usr/bin/designer
39 # Linguist and assistant are now part of QTDesigner packages
40 rm $fs/usr/bin/linguist
41 rm $fs/usr/bin/assistant
42 # qtconfig packaged now in separate package
43 rm $fs/usr/bin/qtconfig
44 rm $fs/usr/share/qt/translations/qtconfig*.qm
45 }