wok-current view Qt4-dev/receipt @ rev 7066
Fixed a path in Qt4-dev and qtconfig.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 01 23:37:29 2010 +0000 (2010-11-01) |
parents | 77f1970e448d |
children | 568b7f4604a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.7.0"
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 }