wok diff Qt4-dev/receipt @ rev 15213
Add nbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 12:21:17 2013 +0000 (2013-09-13) |
parents | d4259b0646e1 |
children | 7bb096863642 |
line diff
1.1 --- a/Qt4-dev/receipt Fri May 20 06:22:56 2011 +0000 1.2 +++ b/Qt4-dev/receipt Fri Sep 13 12:21:17 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="Qt4-dev" 1.7 -VERSION="4.7.3" 1.8 +VERSION="4.8.4" 1.9 CATEGORY="development" 1.10 SHORT_DESC="qt x11 toolkit" 1.11 MAINTAINER="allan316@gmail.com" 1.12 @@ -11,20 +11,23 @@ 1.13 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \ 1.14 qtconfig gcc-lib-base" 1.15 SUGGESTED="libmng nvidia" 1.16 -WEB_SITE="http://qt.nokia.com/" 1.17 +WEB_SITE="http://qt-project.org/" 1.18 WANTED="qt4" 1.19 -SOURCE="qt-everywhere-opensource-src" 1.20 + 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/usr/lib 1.26 + mkdir -p $fs/usr/lib $fs/usr/include/private 1.27 cp -a $_pkg/usr/include $fs/usr 1.28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.29 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ 1.30 cp -a $_pkg/usr/lib/*.prl $fs/usr/lib/ 1.31 cp -a $_pkg/usr/share $fs/usr 1.32 cp -a $_pkg/usr/lib/qt $fs/usr/lib 1.33 + 1.34 + #private qt includes 1.35 + for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done 1.36 1.37 # all qt plugins are in libQtPlugins 1.38 rm -rf $fs/usr/lib/qt/plugins