wok annotate qt4/receipt @ rev 6358
Up: lives to 1.3.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Sep 20 23:39:04 2010 +0000 (2010-09-20) |
parents | 80e64bc2e98a |
children | 99e3675b8ff1 |
rev | line source |
---|---|
jozee@5369 | 1 # SliTaz package receipt. |
jozee@5369 | 2 |
jozee@5369 | 3 PACKAGE="qt4" |
jozee@5369 | 4 SOURCE="qt-everywhere-opensource-src" |
jozee@5369 | 5 VERSION="4.6.2" |
jozee@5369 | 6 CATEGORY="meta" |
jozee@5369 | 7 SHORT_DESC="qt x11 toolkit" |
jozee@5369 | 8 MAINTAINER="allan316@gmail.com" |
pankso@5509 | 9 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ |
pankso@5509 | 10 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ |
pankso@5509 | 11 libQtOpenGL libQtSql libQtWebkit gstreamer" |
pankso@5509 | 12 BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs gstreamer \ |
pankso@5509 | 13 gstreamer-dev gst-python-dev" |
jozee@5369 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
jozee@5369 | 15 WEB_SITE="http://qt.nokia.com/" |
jozee@5369 | 16 WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL" |
jozee@5369 | 17 PROVIDE="qt-x11-opensource-src" |
jozee@5369 | 18 TAGS="qt" |
jozee@5369 | 19 |
jozee@5369 | 20 # Rules to configure and make the package. |
jozee@5369 | 21 compile_rules() |
jozee@5369 | 22 { |
jozee@5369 | 23 cd $src |
pankso@5509 | 24 ./configure -v \ |
pankso@5509 | 25 -prefix /usr \ |
pankso@5509 | 26 -confirm-license -opensource \ |
pankso@5509 | 27 -silent \ |
pankso@5509 | 28 -sysconfdir /etc \ |
pankso@5509 | 29 -plugindir /usr/lib/qt/plugins \ |
pankso@5509 | 30 -translationdir /usr/share/qt/translations \ |
pankso@5509 | 31 -datadir /usr/share/qt \ |
pankso@5509 | 32 -docdir /usr/share/doc/qt \ |
pankso@5509 | 33 -examplesdir /usr/share/doc/qt/examples \ |
pankso@5509 | 34 -demosdir /usr/share/doc/qt/demos \ |
pankso@5509 | 35 -no-separate-debug-info \ |
pankso@5509 | 36 -nomake demos \ |
pankso@5509 | 37 -nomake examples \ |
pankso@5509 | 38 -nomake docs \ |
pankso@5509 | 39 -phonon \ |
pankso@5509 | 40 -optimized-qmake \ |
pankso@5509 | 41 -opengl \ |
pankso@5509 | 42 -gtkstyle && |
pascal@5777 | 43 make -j 4 && |
jozee@5369 | 44 make INSTALL_ROOT=$PWD/_pkg install |
jozee@5369 | 45 } |
jozee@5369 | 46 |
jozee@5369 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5369 | 48 genpkg_rules() |
jozee@5369 | 49 { |
jozee@5369 | 50 # dummy tree to avoid 'tazwok cmp --cook' building loop |
jozee@5369 | 51 mkdir $fs/etc |
jozee@5369 | 52 # pkgconfig path fixes |
jozee@5369 | 53 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@5369 | 54 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@5369 | 55 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@5369 | 56 } |
jozee@5369 | 57 |