wok-stable rev 5369
rename qt-everywhere* to simple qt4; improve all receipts; tazwok need to work with SOURCE and WANTED (feature not patched for quite long now); improve compile options and add libQtOpenGL back
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Apr 29 14:42:30 2010 -0400 (2010-04-29) |
parents | 0be5201ab431 |
children | cf9d17558e0f |
files | Qt4-dev/receipt QtDesigner/receipt QtDesigner/stuff/qtassistant.desktop QtDesigner/stuff/qtdesigner.desktop QtDesigner/stuff/qtlinguist.desktop libQt3Support/receipt libQtClucene/receipt libQtCore/receipt libQtDBus/receipt libQtDesigner/receipt libQtGui/receipt libQtHelp/receipt libQtNetwork/receipt libQtOpenGL/receipt libQtScript/receipt libQtSql/receipt libQtSvg/receipt libQtWebkit/receipt libQtXml/receipt qmake/receipt qt-everywhere-opensource-src/receipt qt4/receipt |
line diff
1.1 --- a/Qt4-dev/receipt Thu Apr 29 07:57:28 2010 -0400 1.2 +++ b/Qt4-dev/receipt Thu Apr 29 14:42:30 2010 -0400 1.3 @@ -12,12 +12,14 @@ 1.4 SUGGESTED="libmng nvidia" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WEB_SITE="http://qt.nokia.com/" 1.7 -WANTED="qt-everywhere-opensource-src" 1.8 +WANTED="qt4" 1.9 +SOURCE="qt-everywhere-opensource-src" 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg. 1.12 genpkg_rules() 1.13 { 1.14 mkdir -p $fs/usr/lib 1.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 1.16 cp -a $_pkg/usr/include $fs/usr 1.17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.18 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ 1.19 @@ -29,8 +31,8 @@ 1.20 cp -a $_pkg/usr/bin $fs/usr 1.21 rm $fs/usr/bin/qmake 1.22 rm $fs/usr/bin/designer 1.23 - # Linguist and assistant are not yet seperate packages 1.24 - #rm $fs/usr/bin/linguist 1.25 - #rm $fs/usr/bin/assistant 1.26 + # Linguist and assistant are now part of QTDesigner packages 1.27 + rm $fs/usr/bin/linguist 1.28 + rm $fs/usr/bin/assistant 1.29 } 1.30
2.1 --- a/QtDesigner/receipt Thu Apr 29 07:57:28 2010 -0400 2.2 +++ b/QtDesigner/receipt Thu Apr 29 14:42:30 2010 -0400 2.3 @@ -5,22 +5,34 @@ 2.4 CATEGORY="development" 2.5 SHORT_DESC="Qt Designer" 2.6 MAINTAINER="allan316@gmail.com" 2.7 -DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtScript \ 2.8 +DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtDesigner libQtScript \ 2.9 expat fontconfig freetype glib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ 2.10 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr xorg-libXrender zlib \ 2.11 libpng gcc-lib-base" 2.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 WEB_SITE="http://qt.nokia.com/" 2.14 -WANTED="qt-everywhere-opensource-src" 2.15 +WANTED="qt4" 2.16 +SOURCE="qt-everywhere-opensource-src" 2.17 TAGS="qt" 2.18 2.19 # Rules to gen a SliTaz package suitable for Tazpkg. 2.20 genpkg_rules() 2.21 { 2.22 - mkdir -p $fs/usr/bin 2.23 - mkdir -p $fs/usr/lib 2.24 + mkdir -p $fs/usr/bin \ 2.25 + $fs/usr/share/pixmaps \ 2.26 + $fs/usr/share/applications 2.27 + src="$WOK/$WANTED/$SOURCE-$VERSION" 2.28 + _pkg="$src/_pkg" 2.29 cp -a $_pkg/usr/bin/designer* $fs/usr/bin 2.30 - cp -a $_pkg/usr/lib/libQtDesigner*.so* $fs/usr/lib 2.31 - strip -s $fs/usr/bin/* 2.32 + cp -a $_pkg/usr/bin/linguist* $fs/usr/bin 2.33 + cp -a $_pkg/usr/bin/assistant* $fs/usr/bin 2.34 + 2.35 + # add missing icons 2.36 + cp -a $src/tools/assistant/tools/assistant/images/assistant.png $fs/usr/share/pixmaps 2.37 + cp -a $src/tools/designer/src/designer/images/designer.png $fs/usr/share/pixmaps 2.38 + cp -a $src/tools/linguist/linguist/images/icons/linguist-16-32.png $fs/usr/share/pixmaps 2.39 + 2.40 + # add .desktop files 2.41 + cp -a stuff/* $fs/usr/share/applications 2.42 } 2.43
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/QtDesigner/stuff/qtassistant.desktop Thu Apr 29 14:42:30 2010 -0400 3.3 @@ -0,0 +1,9 @@ 3.4 +[Desktop Entry] 3.5 +Encoding=UTF-8 3.6 +Exec=/usr/bin/assistant 3.7 +Name=Qt Assistant 3.8 +GenericName=Qt Document Browser 3.9 +Icon=assistant 3.10 +Terminal=false 3.11 +Type=Application 3.12 +Categories=Application;Development;Documentation
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/QtDesigner/stuff/qtdesigner.desktop Thu Apr 29 14:42:30 2010 -0400 4.3 @@ -0,0 +1,9 @@ 4.4 +[Desktop Entry] 4.5 +Encoding=UTF-8 4.6 +Exec=/usr/bin/designer 4.7 +Icon=designer 4.8 +Name=Qt Designer 4.9 +StartupNotify=false 4.10 +Terminal=false 4.11 +Type=Application 4.12 +Categories=Application;Development;
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/QtDesigner/stuff/qtlinguist.desktop Thu Apr 29 14:42:30 2010 -0400 5.3 @@ -0,0 +1,10 @@ 5.4 +[Desktop Entry] 5.5 +Encoding=UTF-8 5.6 +Exec=/usr/bin/linguist 5.7 +Name=Qt Linguist 5.8 +GenericName=Translation Tool 5.9 +MimeType=application/x-linguist 5.10 +Terminal=false 5.11 +Type=Application 5.12 +Icon=linguist 5.13 +Categories=Application;Development;
6.1 --- a/libQt3Support/receipt Thu Apr 29 07:57:28 2010 -0400 6.2 +++ b/libQt3Support/receipt Thu Apr 29 14:42:30 2010 -0400 6.3 @@ -8,11 +8,13 @@ 6.4 DEPENDS="libQtGui libQtSql libQtXml" 6.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.6 WEB_SITE="http://qt.nokia.com/" 6.7 -WANTED="qt-everywhere-opensource-src" 6.8 +WANTED="qt4" 6.9 +SOURCE="qt-everywhere-opensource-src" 6.10 # Rules to gen a SliTaz package suitable for Tazpkg. 6.11 genpkg_rules() 6.12 { 6.13 mkdir -p $fs/usr/lib 6.14 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 6.15 cp -a $_pkg/usr/lib/libQt3Support.so* $fs/usr/lib 6.16 } 6.17
7.1 --- a/libQtClucene/receipt Thu Apr 29 07:57:28 2010 -0400 7.2 +++ b/libQtClucene/receipt Thu Apr 29 14:42:30 2010 -0400 7.3 @@ -8,11 +8,13 @@ 7.4 DEPENDS="libQtCore" 7.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 7.6 WEB_SITE="http://qt.nokia.com/" 7.7 -WANTED="qt-everywhere-opensource-src" 7.8 +WANTED="qt4" 7.9 +SOURCE="qt-everywhere-opensource-src" 7.10 # Rules to gen a SliTaz package suitable for Tazpkg. 7.11 genpkg_rules() 7.12 { 7.13 mkdir -p $fs/usr/lib 7.14 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 7.15 cp -a $_pkg/usr/lib/libQtCLucene.so* $fs/usr/lib 7.16 } 7.17
8.1 --- a/libQtCore/receipt Thu Apr 29 07:57:28 2010 -0400 8.2 +++ b/libQtCore/receipt Thu Apr 29 14:42:30 2010 -0400 8.3 @@ -8,12 +8,14 @@ 8.4 DEPENDS="glib zlib gcc-lib-base" 8.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 8.6 WEB_SITE="http://qt.nokia.com/" 8.7 -WANTED="qt-everywhere-opensource-src" 8.8 +WANTED="qt4" 8.9 +SOURCE="qt-everywhere-opensource-src" 8.10 8.11 # Rules to gen a SliTaz package suitable for Tazpkg. 8.12 genpkg_rules() 8.13 { 8.14 mkdir -p $fs/usr/lib 8.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 8.16 cp -a $_pkg/usr/lib/libQtCore.so* $fs/usr/lib 8.17 8.18 }
9.1 --- a/libQtDBus/receipt Thu Apr 29 07:57:28 2010 -0400 9.2 +++ b/libQtDBus/receipt Thu Apr 29 14:42:30 2010 -0400 9.3 @@ -8,11 +8,13 @@ 9.4 DEPENDS="libQtXml" 9.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 9.6 WEB_SITE="http://qt.nokia.com/" 9.7 -WANTED="qt-everywhere-opensource-src" 9.8 +WANTED="qt4" 9.9 +SOURCE="qt-everywhere-opensource-src" 9.10 # Rules to gen a SliTaz package suitable for Tazpkg. 9.11 genpkg_rules() 9.12 { 9.13 mkdir -p $fs/usr/lib 9.14 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 9.15 cp -a $_pkg/usr/lib/libQtDBus.so* $fs/usr/lib 9.16 } 9.17
10.1 --- a/libQtDesigner/receipt Thu Apr 29 07:57:28 2010 -0400 10.2 +++ b/libQtDesigner/receipt Thu Apr 29 14:42:30 2010 -0400 10.3 @@ -8,13 +8,14 @@ 10.4 DEPENDS="libQtCore libQtGui libQtScript libQtXml" 10.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 10.6 WEB_SITE="http://www.trolltech.com" 10.7 -#WGET_URL="" 10.8 -WANTED="qt-everywhere-opensource-src" 10.9 +WANTED="qt4" 10.10 +SOURCE="qt-everywhere-opensource-src" 10.11 10.12 # Rules to gen a SliTaz package suitable for Tazpkg. 10.13 genpkg_rules() 10.14 { 10.15 mkdir -p $fs/usr/lib 10.16 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 10.17 cp -a $_pkg/usr/lib/libQtDesigner*.so* $fs/usr/lib 10.18 } 10.19
11.1 --- a/libQtGui/receipt Thu Apr 29 07:57:28 2010 -0400 11.2 +++ b/libQtGui/receipt Thu Apr 29 14:42:30 2010 -0400 11.3 @@ -10,13 +10,15 @@ 11.4 xorg-libXrender libpng" 11.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 11.6 WEB_SITE="http://qt.nokia.com/" 11.7 -WANTED="qt-everywhere-opensource-src" 11.8 +WANTED="qt4" 11.9 +SOURCE="qt-everywhere-opensource-src" 11.10 11.11 11.12 # Rules to gen a SliTaz package suitable for Tazpkg. 11.13 genpkg_rules() 11.14 { 11.15 mkdir -p $fs/usr/lib 11.16 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 11.17 cp -a $_pkg/usr/lib/libQtGui.so* $fs/usr/lib 11.18 } 11.19
12.1 --- a/libQtHelp/receipt Thu Apr 29 07:57:28 2010 -0400 12.2 +++ b/libQtHelp/receipt Thu Apr 29 14:42:30 2010 -0400 12.3 @@ -8,11 +8,13 @@ 12.4 DEPENDS="libQtGui libQtClucene libQtSql libQtXml" 12.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 12.6 WEB_SITE="http://qt.nokia.com/" 12.7 -WANTED="qt-everywhere-opensource-src" 12.8 +WANTED="qt4" 12.9 +SOURCE="qt-everywhere-opensource-src" 12.10 # Rules to gen a SliTaz package suitable for Tazpkg. 12.11 genpkg_rules() 12.12 { 12.13 mkdir -p $fs/usr/lib 12.14 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 12.15 cp -a $_pkg/usr/lib/libQtHelp.so* $fs/usr/lib 12.16 } 12.17
13.1 --- a/libQtNetwork/receipt Thu Apr 29 07:57:28 2010 -0400 13.2 +++ b/libQtNetwork/receipt Thu Apr 29 14:42:30 2010 -0400 13.3 @@ -8,12 +8,14 @@ 13.4 DEPENDS="libQtCore" 13.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 13.6 WEB_SITE="http://qt.nokia.com/" 13.7 -WANTED="qt-everywhere-opensource-src" 13.8 +WANTED="qt4" 13.9 +SOURCE="qt-everywhere-opensource-src" 13.10 13.11 # Rules to gen a SliTaz package suitable for Tazpkg. 13.12 genpkg_rules() 13.13 { 13.14 mkdir -p $fs/usr/lib 13.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 13.16 cp -a $_pkg/usr/lib/libQtNetwork.so* $fs/usr/lib 13.17 } 13.18
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/libQtOpenGL/receipt Thu Apr 29 14:42:30 2010 -0400 14.3 @@ -0,0 +1,21 @@ 14.4 +# SliTaz package receipt. 14.5 + 14.6 +PACKAGE="libQtOpenGL" 14.7 +VERSION="4.6.2" 14.8 +CATEGORY="development" 14.9 +SHORT_DESC="Qt Network Library" 14.10 +MAINTAINER="allan316@gmail.com" 14.11 +DEPENDS="libQtGui libgl libglu xorg-libXxf86vm xorg-libXdamage libdrm" 14.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 14.13 +WEB_SITE="http://qt.nokia.com/" 14.14 +WANTED="qt4" 14.15 +SOURCE="qt-everywhere-opensource-src" 14.16 + 14.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 14.18 +genpkg_rules() 14.19 +{ 14.20 + mkdir -p $fs/usr/lib 14.21 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 14.22 + cp -a $_pkg/usr/lib/libQtOpenGL.so* $fs/usr/lib 14.23 +} 14.24 +
15.1 --- a/libQtScript/receipt Thu Apr 29 07:57:28 2010 -0400 15.2 +++ b/libQtScript/receipt Thu Apr 29 14:42:30 2010 -0400 15.3 @@ -8,12 +8,14 @@ 15.4 DEPENDS="libQtCore" 15.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 15.6 WEB_SITE="http://qt.nokia.com/" 15.7 -WANTED="qt-everywhere-opensource-src" 15.8 +WANTED="qt4" 15.9 +SOURCE="qt-everywhere-opensource-src" 15.10 15.11 # Rules to gen a SliTaz package suitable for Tazpkg. 15.12 genpkg_rules() 15.13 { 15.14 mkdir -p $fs/usr/lib 15.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 15.16 cp -a $_pkg/usr/lib/libQtScript.so* $fs/usr/lib 15.17 } 15.18
16.1 --- a/libQtSql/receipt Thu Apr 29 07:57:28 2010 -0400 16.2 +++ b/libQtSql/receipt Thu Apr 29 14:42:30 2010 -0400 16.3 @@ -8,11 +8,13 @@ 16.4 DEPENDS="libQtCore" 16.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 16.6 WEB_SITE="http://qt.nokia.com/" 16.7 -WANTED="qt-everywhere-opensource-src" 16.8 +WANTED="qt4" 16.9 +SOURCE="qt-everywhere-opensource-src" 16.10 # Rules to gen a SliTaz package suitable for Tazpkg. 16.11 genpkg_rules() 16.12 { 16.13 mkdir -p $fs/usr/lib 16.14 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 16.15 cp -a $_pkg/usr/lib/libQtSql.so* $fs/usr/lib 16.16 } 16.17
17.1 --- a/libQtSvg/receipt Thu Apr 29 07:57:28 2010 -0400 17.2 +++ b/libQtSvg/receipt Thu Apr 29 14:42:30 2010 -0400 17.3 @@ -8,12 +8,14 @@ 17.4 DEPENDS="libQtCore libQtGui libQtXml libpng" 17.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 17.6 WEB_SITE="http://qt.nokia.com/" 17.7 -WANTED="qt-everywhere-opensource-src" 17.8 +WANTED="qt4" 17.9 +SOURCE="qt-everywhere-opensource-src" 17.10 17.11 # Rules to gen a SliTaz package suitable for Tazpkg. 17.12 genpkg_rules() 17.13 { 17.14 mkdir -p $fs/usr/lib 17.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 17.16 cp -a $_pkg/usr/lib/libQtSvg.so* $fs/usr/lib 17.17 } 17.18
18.1 --- a/libQtWebkit/receipt Thu Apr 29 07:57:28 2010 -0400 18.2 +++ b/libQtWebkit/receipt Thu Apr 29 14:42:30 2010 -0400 18.3 @@ -8,12 +8,14 @@ 18.4 DEPENDS="libQtCore libQtGui libQtNetwork libpng" 18.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 18.6 WEB_SITE="http://qt.nokia.com/" 18.7 -WANTED="qt-everywhere-opensource-src" 18.8 +WANTED="qt4" 18.9 +SOURCE="qt-everywhere-opensource-src" 18.10 18.11 #Rules to gen a SliTaz package suitable for Tazpkg. 18.12 genpkg_rules() 18.13 { 18.14 mkdir -p $fs/usr/lib 18.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 18.16 cp -a $_pkg/usr/lib/libQtWebKit.so* $fs/usr/lib 18.17 } 18.18
19.1 --- a/libQtXml/receipt Thu Apr 29 07:57:28 2010 -0400 19.2 +++ b/libQtXml/receipt Thu Apr 29 14:42:30 2010 -0400 19.3 @@ -8,12 +8,14 @@ 19.4 DEPENDS="libQtNetwork" 19.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 19.6 WEB_SITE="http://qt.nokia.com/" 19.7 -WANTED="qt-everywhere-opensource-src" 19.8 +WANTED="qt4" 19.9 +SOURCE="qt-everywhere-opensource-src" 19.10 19.11 # Rules to gen a SliTaz package suitable for Tazpkg. 19.12 genpkg_rules() 19.13 { 19.14 mkdir -p $fs/usr/lib 19.15 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 19.16 cp -a $_pkg/usr/lib/libQtXml.so* $fs/usr/lib 19.17 cp -a $_pkg/usr/lib/libQtXmlPatterns.so* $fs/usr/lib 19.18 }
20.1 --- a/qmake/receipt Thu Apr 29 07:57:28 2010 -0400 20.2 +++ b/qmake/receipt Thu Apr 29 14:42:30 2010 -0400 20.3 @@ -8,7 +8,8 @@ 20.4 DEPENDS="zlib gcc-lib-base" 20.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 20.6 WEB_SITE="http://qt.nokia.com/" 20.7 -WANTED="qt-everywhere-opensource-src" 20.8 +WANTED="qt4" 20.9 +SOURCE="qt-everywhere-opensource-src" 20.10 TAGS="qt" 20.11 20.12 20.13 @@ -16,6 +17,7 @@ 20.14 genpkg_rules() 20.15 { 20.16 mkdir -p $fs/usr/bin 20.17 + _pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg" 20.18 cp -a $_pkg/usr/bin/qmake $fs/usr/bin 20.19 cp -a $_pkg/usr/bin/moc $fs/usr/bin 20.20 cp -a $_pkg/usr/bin/uic $fs/usr/bin
21.1 --- a/qt-everywhere-opensource-src/receipt Thu Apr 29 07:57:28 2010 -0400 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,51 +0,0 @@ 21.4 -# SliTaz package receipt. 21.5 - 21.6 -PACKAGE="qt-everywhere-opensource-src" 21.7 -VERSION="4.6.2" 21.8 -CATEGORY="meta" 21.9 -SHORT_DESC="qt x11 toolkit" 21.10 -MAINTAINER="allan316@gmail.com" 21.11 -DEPENDS="glibc-locale" 21.12 -BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs" 21.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 21.14 -WEB_SITE="http://qt.nokia.com/" 21.15 -WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL" 21.16 -PROVIDE="qt-x11-opensource-src" 21.17 -TAGS="qt" 21.18 - 21.19 -# Rules to configure and make the package. 21.20 -compile_rules() 21.21 -{ 21.22 - cd $src 21.23 - ./configure \ 21.24 - -prefix /usr \ 21.25 - -confirm-license \ 21.26 - -silent \ 21.27 - -sysconfdir /etc \ 21.28 - -plugindir /usr/lib/qt/plugins \ 21.29 - -translationdir /usr/share/qt/translations \ 21.30 - -datadir /usr/share/qt \ 21.31 - -docdir /usr/share/doc/qt \ 21.32 - -examplesdir /usr/share/doc/qt/examples \ 21.33 - -demosdir /usr/share/doc/qt/demos \ 21.34 - -no-separate-debug-info \ 21.35 - -nomake demos \ 21.36 - -nomake examples \ 21.37 - -nomake docs \ 21.38 - -no-phonon \ 21.39 - -optimized-qmake && 21.40 - make && 21.41 - make INSTALL_ROOT=$PWD/_pkg install 21.42 -} 21.43 - 21.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.45 -genpkg_rules() 21.46 -{ 21.47 - # dummy tree to avoid 'tazwok cmp --cook' building loop 21.48 - mkdir $fs/etc 21.49 - # pkgconfig path fixes 21.50 - sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc 21.51 - sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc 21.52 - sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc 21.53 -} 21.54 -
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/qt4/receipt Thu Apr 29 14:42:30 2010 -0400 22.3 @@ -0,0 +1,55 @@ 22.4 +# SliTaz package receipt. 22.5 + 22.6 +PACKAGE="qt4" 22.7 +SOURCE="qt-everywhere-opensource-src" 22.8 +VERSION="4.6.2" 22.9 +CATEGORY="meta" 22.10 +SHORT_DESC="qt x11 toolkit" 22.11 +MAINTAINER="allan316@gmail.com" 22.12 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml libQtDesigner libQtScript \ 22.13 +libQt3Support libQtClucene libQtDBus libQtHelp libQtOpenGL libQtSql libQtWebkit" 22.14 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs" 22.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 22.16 +WEB_SITE="http://qt.nokia.com/" 22.17 +WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL" 22.18 +PROVIDE="qt-x11-opensource-src" 22.19 +TAGS="qt" 22.20 + 22.21 +# Rules to configure and make the package. 22.22 +compile_rules() 22.23 +{ 22.24 + cd $src 22.25 + ./configure \ 22.26 + -prefix /usr \ 22.27 + -confirm-license -opensource \ 22.28 + -silent \ 22.29 + -sysconfdir /etc \ 22.30 + -plugindir /usr/lib/qt/plugins \ 22.31 + -translationdir /usr/share/qt/translations \ 22.32 + -datadir /usr/share/qt \ 22.33 + -docdir /usr/share/doc/qt \ 22.34 + -examplesdir /usr/share/doc/qt/examples \ 22.35 + -demosdir /usr/share/doc/qt/demos \ 22.36 + -no-separate-debug-info \ 22.37 + -nomake demos \ 22.38 + -nomake examples \ 22.39 + -nomake docs \ 22.40 + -no-phonon \ 22.41 + -optimized-qmake \ 22.42 + -opengl \ 22.43 + -gtkstyle && 22.44 + make && 22.45 + make INSTALL_ROOT=$PWD/_pkg install 22.46 +} 22.47 + 22.48 +# Rules to gen a SliTaz package suitable for Tazpkg. 22.49 +genpkg_rules() 22.50 +{ 22.51 + # dummy tree to avoid 'tazwok cmp --cook' building loop 22.52 + mkdir $fs/etc 22.53 + # pkgconfig path fixes 22.54 + sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc 22.55 + sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc 22.56 + sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc 22.57 +} 22.58 +