wok diff qt-everywhere-opensource-src/receipt @ rev 5353
Up: qt-everywhere-opensource-src (4.6.2) - Renamed qt-x11-opensource-src to qt-everywhere-opensource-src. Updated WEBSITE and WGET_URL. Remove libQtOpenGL since its not in qt anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 16:29:16 2010 +0000 (2010-04-28) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qt-everywhere-opensource-src/receipt Wed Apr 28 16:29:16 2010 +0000 1.3 @@ -0,0 +1,51 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qt-everywhere-opensource-src" 1.7 +VERSION="4.6.2" 1.8 +CATEGORY="meta" 1.9 +SHORT_DESC="qt x11 toolkit" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="glibc-locale" 1.12 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://qt.nokia.com/" 1.15 +WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL" 1.16 +PROVIDE="qt-x11-opensource-src" 1.17 +TAGS="qt" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + -prefix /usr \ 1.25 + -confirm-license \ 1.26 + -silent \ 1.27 + -sysconfdir /etc \ 1.28 + -plugindir /usr/lib/qt/plugins \ 1.29 + -translationdir /usr/share/qt/translations \ 1.30 + -datadir /usr/share/qt \ 1.31 + -docdir /usr/share/doc/qt \ 1.32 + -examplesdir /usr/share/doc/qt/examples \ 1.33 + -demosdir /usr/share/doc/qt/demos \ 1.34 + -no-separate-debug-info \ 1.35 + -nomake demos \ 1.36 + -nomake examples \ 1.37 + -nomake docs \ 1.38 + -no-phonon \ 1.39 + -optimized-qmake && 1.40 + make && 1.41 + make INSTALL_ROOT=$PWD/_pkg install 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + # dummy tree to avoid 'tazwok cmp --cook' building loop 1.48 + mkdir $fs/etc 1.49 + # pkgconfig path fixes 1.50 + sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc 1.51 + sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc 1.52 + sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc 1.53 +} 1.54 +