wok annotate qt-x11-opensource-src/receipt @ rev 4149
Fix: xfce4 dependency looping
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Sep 20 16:13:53 2009 +0000 (2009-09-20) |
parents | 5b174a1f58f8 |
children | c4ca195c01dd |
rev | line source |
---|---|
allan316@1358 | 1 # SliTaz package receipt. |
allan316@1358 | 2 |
allan316@1358 | 3 PACKAGE="qt-x11-opensource-src" |
allan316@2804 | 4 VERSION="4.5.0" |
pankso@3493 | 5 CATEGORY="meta" |
allan316@1358 | 6 SHORT_DESC="qt x11 toolkit" |
allan316@1358 | 7 MAINTAINER="allan316@gmail.com" |
allan316@2804 | 8 DEPENDS="glibc-locale" |
allan316@2804 | 9 BUILD_DEPENDS="xorg-libX11-dev dbus-dev slitaz-dev-pkgs" |
allan316@1358 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@1358 | 11 WEB_SITE="http://www.trolltech.com" |
allan316@2804 | 12 WGET_URL="ftp://get.qtsoftware.com/qt/source/$TARBALL" |
allan316@1358 | 13 |
allan316@1358 | 14 # Rules to configure and make the package. |
allan316@1358 | 15 compile_rules() |
allan316@1358 | 16 { |
allan316@1358 | 17 cd $src |
jozee@2818 | 18 ./configure \ |
jozee@2818 | 19 -prefix /usr \ |
jozee@2818 | 20 -confirm-license \ |
jozee@2818 | 21 -silent \ |
jozee@2818 | 22 -sysconfdir /etc \ |
jozee@2818 | 23 -plugindir /usr/lib/qt/plugins \ |
jozee@2818 | 24 -translationdir /usr/share/qt/translations \ |
jozee@2818 | 25 -datadir /usr/share/qt \ |
jozee@2818 | 26 -docdir /usr/share/doc/qt \ |
jozee@2818 | 27 -examplesdir /usr/share/doc/qt/examples \ |
jozee@2818 | 28 -demosdir /usr/share/doc/qt/demos \ |
jozee@2818 | 29 -no-separate-debug-info \ |
jozee@2818 | 30 -nomake demos \ |
jozee@2818 | 31 -nomake examples \ |
jozee@2818 | 32 -nomake docs \ |
jozee@2818 | 33 -no-phonon \ |
jozee@2818 | 34 -optimized-qmake && |
pascal@1511 | 35 make && |
allan316@2804 | 36 make INSTALL_ROOT=$PWD/_pkg install |
allan316@1358 | 37 } |
allan316@1358 | 38 |
pascal@1511 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1511 | 40 genpkg_rules() |
pascal@1511 | 41 { |
pascal@1511 | 42 # dummy tree to avoid 'tazwok cmp --cook' building loop |
pascal@1511 | 43 mkdir $fs/etc |
jozee@2818 | 44 # pkgconfig path fixes |
jozee@2818 | 45 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@2818 | 46 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@2818 | 47 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc |
pascal@1511 | 48 } |
allan316@1358 | 49 |