wok-current annotate Qt4-dev/receipt @ rev 5556
Up lguest (2.6.33.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 23:09:54 2010 +0200 (2010-05-13) |
parents | 30f0edfdd2e4 |
children | 99e3675b8ff1 |
rev | line source |
---|---|
allan316@1369 | 1 # SliTaz package receipt. |
allan316@1369 | 2 |
allan316@1369 | 3 PACKAGE="Qt4-dev" |
slaxemulator@5353 | 4 VERSION="4.6.2" |
allan316@1369 | 5 CATEGORY="development" |
allan316@1369 | 6 SHORT_DESC="qt x11 toolkit" |
allan316@1369 | 7 MAINTAINER="allan316@gmail.com" |
pascal@2847 | 8 DEPENDS="QtDesigner jpeg tiff libpng libgl libglu \ |
pascal@2847 | 9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ |
pascal@2847 | 10 libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL \ |
pascal@4997 | 11 libQtScript libQtSql libQtWebkit gcc-lib-base" |
pascal@4997 | 12 SUGGESTED="libmng nvidia" |
allan316@1369 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@5353 | 14 WEB_SITE="http://qt.nokia.com/" |
jozee@5369 | 15 WANTED="qt4" |
jozee@5369 | 16 SOURCE="qt-everywhere-opensource-src" |
allan316@1369 | 17 |
allan316@1369 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1369 | 19 genpkg_rules() |
allan316@1369 | 20 { |
jozee@2942 | 21 mkdir -p $fs/usr/lib |
jozee@5369 | 22 _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" |
allan316@1369 | 23 cp -a $_pkg/usr/include $fs/usr |
jozee@2818 | 24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
jozee@2818 | 25 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ |
jozee@2818 | 26 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/ |
jozee@2818 | 27 cp -a $_pkg/usr/share $fs/usr |
jozee@2818 | 28 cp -a $_pkg/usr/lib/qt $fs/usr/lib |
jozee@2818 | 29 |
jozee@2818 | 30 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages |
jozee@2818 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@2818 | 32 rm $fs/usr/bin/qmake |
jozee@2818 | 33 rm $fs/usr/bin/designer |
jozee@5369 | 34 # Linguist and assistant are now part of QTDesigner packages |
jozee@5369 | 35 rm $fs/usr/bin/linguist |
jozee@5369 | 36 rm $fs/usr/bin/assistant |
allan316@1369 | 37 } |
allan316@1369 | 38 |