wok-6.x view Qt4-dev/receipt @ rev 15114
libXaw3dXft: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 21:21:31 2013 +0000 (2013-08-14) |
parents | d4259b0646e1 |
children | 7bb096863642 |
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 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
10 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \
11 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \
12 qtconfig gcc-lib-base"
13 SUGGESTED="libmng nvidia"
14 WEB_SITE="http://qt-project.org/"
15 WANTED="qt4"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/lib $fs/usr/include/private
22 cp -a $_pkg/usr/include $fs/usr
23 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
24 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
25 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/
26 cp -a $_pkg/usr/share $fs/usr
27 cp -a $_pkg/usr/lib/qt $fs/usr/lib
29 #private qt includes
30 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
32 # all qt plugins are in libQtPlugins
33 rm -rf $fs/usr/lib/qt/plugins
34 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
35 cp -a $_pkg/usr/bin $fs/usr
36 rm $fs/usr/bin/qmake
37 rm $fs/usr/bin/designer
38 # Linguist and assistant are now part of QTDesigner packages
39 rm $fs/usr/bin/linguist
40 rm $fs/usr/bin/assistant
41 # qtconfig packaged now in separate package
42 rm $fs/usr/bin/qtconfig
43 rm $fs/usr/share/qt/translations/qtconfig*.qm
44 }