wok-stable view Qt4-dev/receipt @ rev 8329
Fix: libgnomeprint/libgnomeprintui bdeps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 23:48:13 2011 +0100 (2011-02-01) |
parents | bda3b17b3945 |
children | 20c7c65ea549 |
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 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 _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg"
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 }