wok-next view Qt4-dev/receipt @ rev 8666

Updated qt4 with upstream fixes.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 16 06:48:23 2011 +0000 (2011-02-16)
parents 568b7f4604a2
children 492d81d36df5
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.7.1"
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 libQtDBus libQtHelp libQtOpenGL \
11 libQtScript libQtSql libQtWebkit libQtTest qtconfig gcc-lib-base"
12 SUGGESTED="libmng nvidia"
13 WEB_SITE="http://qt.nokia.com/"
14 WANTED="qt4"
15 SOURCE="qt-everywhere-opensource-src"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/lib
21 cp -a $_pkg/usr/include $fs/usr
22 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
23 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
24 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/
25 cp -a $_pkg/usr/share $fs/usr
26 cp -a $_pkg/usr/lib/qt $fs/usr/lib
28 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
29 cp -a $_pkg/usr/bin $fs/usr
30 rm $fs/usr/bin/qmake
31 rm $fs/usr/bin/designer
32 # Linguist and assistant are now part of QTDesigner packages
33 rm $fs/usr/bin/linguist
34 rm $fs/usr/bin/assistant
35 # qtconfig packaged now in separate package
36 rm $fs/usr/bin/qtconfig
37 rm $fs/usr/share/qt/translations/qtconfig*.qm
38 }