wok-current view Qt4-dev/receipt @ rev 12624

exosip: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 12:18:27 2012 +0200 (2012-04-29)
parents 94abe4617312
children 68ec33732967
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.7.3"
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.nokia.com/"
15 WANTED="qt4"
16 SOURCE="qt-everywhere-opensource-src"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/lib
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 # all qt plugins are in libQtPlugins
30 rm -rf $fs/usr/lib/qt/plugins
31 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
32 cp -a $_pkg/usr/bin $fs/usr
33 rm $fs/usr/bin/qmake
34 rm $fs/usr/bin/designer
35 # Linguist and assistant are now part of QTDesigner packages
36 rm $fs/usr/bin/linguist
37 rm $fs/usr/bin/assistant
38 # qtconfig packaged now in separate package
39 rm $fs/usr/bin/qtconfig
40 rm $fs/usr/share/qt/translations/qtconfig*.qm
41 }