wok-4.x annotate Qt4-dev/receipt @ rev 8383

Fix: compile tightvnc with -j1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 04 05:30:52 2011 +0000 (2011-02-04)
parents bda3b17b3945
children 20c7c65ea549
rev   line source
allan316@1369 1 # SliTaz package receipt.
allan316@1369 2
allan316@1369 3 PACKAGE="Qt4-dev"
slaxemulator@7209 4 VERSION="4.7.1"
allan316@1369 5 CATEGORY="development"
allan316@1369 6 SHORT_DESC="qt x11 toolkit"
allan316@1369 7 MAINTAINER="allan316@gmail.com"
slaxemulator@6976 8 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
pascal@2847 9 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
pascal@2847 10 libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL \
slaxemulator@7065 11 libQtScript libQtSql libQtWebkit qtconfig gcc-lib-base"
pascal@4997 12 SUGGESTED="libmng nvidia"
slaxemulator@5353 13 WEB_SITE="http://qt.nokia.com/"
jozee@5369 14 WANTED="qt4"
jozee@5369 15 SOURCE="qt-everywhere-opensource-src"
allan316@1369 16
allan316@1369 17 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1369 18 genpkg_rules()
allan316@1369 19 {
jozee@2942 20 mkdir -p $fs/usr/lib
jozee@5369 21 _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg"
allan316@1369 22 cp -a $_pkg/usr/include $fs/usr
jozee@2818 23 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
jozee@2818 24 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
jozee@2818 25 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/
jozee@2818 26 cp -a $_pkg/usr/share $fs/usr
jozee@2818 27 cp -a $_pkg/usr/lib/qt $fs/usr/lib
jozee@2818 28
jozee@2818 29 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
jozee@2818 30 cp -a $_pkg/usr/bin $fs/usr
jozee@2818 31 rm $fs/usr/bin/qmake
jozee@2818 32 rm $fs/usr/bin/designer
jozee@5369 33 # Linguist and assistant are now part of QTDesigner packages
jozee@5369 34 rm $fs/usr/bin/linguist
jozee@5369 35 rm $fs/usr/bin/assistant
slaxemulator@7065 36 # qtconfig packaged now in separate package
slaxemulator@7065 37 rm $fs/usr/bin/qtconfig
slaxemulator@7066 38 rm $fs/usr/share/qt/translations/qtconfig*.qm
allan316@1369 39 }
allan316@1369 40