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

Up: zile (2.3.16)
author Alexander Medvedev <devl547@gmail.com>
date Mon May 10 19:29:29 2010 +0000 (2010-05-10)
parents 30f0edfdd2e4
children 99e3675b8ff1
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.6.2"
5 CATEGORY="development"
6 SHORT_DESC="qt x11 toolkit"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="QtDesigner jpeg tiff libpng libgl libglu \
9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
10 libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL \
11 libQtScript libQtSql libQtWebkit gcc-lib-base"
12 SUGGESTED="libmng nvidia"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg"
23 cp -a $_pkg/usr/include $fs/usr
24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
26 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/
27 cp -a $_pkg/usr/share $fs/usr
28 cp -a $_pkg/usr/lib/qt $fs/usr/lib
30 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
31 cp -a $_pkg/usr/bin $fs/usr
32 rm $fs/usr/bin/qmake
33 rm $fs/usr/bin/designer
34 # Linguist and assistant are now part of QTDesigner packages
35 rm $fs/usr/bin/linguist
36 rm $fs/usr/bin/assistant
37 }