wok-undigest rev 914
Qt4-dev: up to 4.8.4 + added Qt private headers
author | ernia <monghitri@aruba.it> |
---|---|
date | Sun Feb 03 08:12:40 2013 +0000 (2013-02-03) |
parents | e168b71fda20 |
children | dd6606870730 |
files | Qt4-dev/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Qt4-dev/receipt Sun Feb 03 08:12:40 2013 +0000 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Qt4-dev" 1.7 +VERSION="4.8.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="qt x11 toolkit" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \ 1.12 +freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ 1.13 +libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \ 1.14 +libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \ 1.15 +qtconfig gcc-lib-base" 1.16 +SUGGESTED="libmng nvidia" 1.17 +WEB_SITE="http://qt-project.org/" 1.18 +WANTED="qt4" 1.19 + 1.20 + 1.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 +genpkg_rules() 1.23 +{ 1.24 + mkdir -p $fs/usr/lib $fs/usr/include/private 1.25 + cp -a $_pkg/usr/include $fs/usr 1.26 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.27 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ 1.28 + cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/ 1.29 + cp -a $_pkg/usr/share $fs/usr 1.30 + cp -a $_pkg/usr/lib/qt $fs/usr/lib 1.31 + 1.32 + #private qt includes 1.33 + for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done 1.34 + 1.35 + # all qt plugins are in libQtPlugins 1.36 + rm -rf $fs/usr/lib/qt/plugins 1.37 + # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages 1.38 + cp -a $_pkg/usr/bin $fs/usr 1.39 + rm $fs/usr/bin/qmake 1.40 + rm $fs/usr/bin/designer 1.41 + # Linguist and assistant are now part of QTDesigner packages 1.42 + rm $fs/usr/bin/linguist 1.43 + rm $fs/usr/bin/assistant 1.44 + # qtconfig packaged now in separate package 1.45 + rm $fs/usr/bin/qtconfig 1.46 + rm $fs/usr/share/qt/translations/qtconfig*.qm 1.47 +} 1.48 +