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

obconf: fix BUILD_DEPENDS (again)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:34:53 2011 +0200 (2011-05-16)
parents 492d81d36df5
children d4259b0646e1
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.7.2"
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 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 bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
30 cp -a $_pkg/usr/bin $fs/usr
31 rm $fs/usr/bin/qmake
32 rm $fs/usr/bin/designer
33 # Linguist and assistant are now part of QTDesigner packages
34 rm $fs/usr/bin/linguist
35 rm $fs/usr/bin/assistant
36 # qtconfig packaged now in separate package
37 rm $fs/usr/bin/qtconfig
38 rm $fs/usr/share/qt/translations/qtconfig*.qm
39 }