wok-6.x annotate qt-x11-opensource-src/receipt @ rev 5314
Zile: fix depends
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Apr 21 18:20:42 2010 +0200 (2010-04-21) |
parents | 71a234d3060d |
children |
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" |
jozee@4971 | 13 TAGS="qt" |
allan316@1358 | 14 |
allan316@1358 | 15 # Rules to configure and make the package. |
allan316@1358 | 16 compile_rules() |
allan316@1358 | 17 { |
allan316@1358 | 18 cd $src |
jozee@2818 | 19 ./configure \ |
jozee@2818 | 20 -prefix /usr \ |
jozee@2818 | 21 -confirm-license \ |
jozee@2818 | 22 -silent \ |
jozee@2818 | 23 -sysconfdir /etc \ |
jozee@2818 | 24 -plugindir /usr/lib/qt/plugins \ |
jozee@2818 | 25 -translationdir /usr/share/qt/translations \ |
jozee@2818 | 26 -datadir /usr/share/qt \ |
jozee@2818 | 27 -docdir /usr/share/doc/qt \ |
jozee@2818 | 28 -examplesdir /usr/share/doc/qt/examples \ |
jozee@2818 | 29 -demosdir /usr/share/doc/qt/demos \ |
jozee@2818 | 30 -no-separate-debug-info \ |
jozee@2818 | 31 -nomake demos \ |
jozee@2818 | 32 -nomake examples \ |
jozee@2818 | 33 -nomake docs \ |
jozee@2818 | 34 -no-phonon \ |
jozee@2818 | 35 -optimized-qmake && |
pascal@1511 | 36 make && |
allan316@2804 | 37 make INSTALL_ROOT=$PWD/_pkg install |
allan316@1358 | 38 } |
allan316@1358 | 39 |
pascal@1511 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1511 | 41 genpkg_rules() |
pascal@1511 | 42 { |
pascal@1511 | 43 # dummy tree to avoid 'tazwok cmp --cook' building loop |
pascal@1511 | 44 mkdir $fs/etc |
jozee@2818 | 45 # pkgconfig path fixes |
jozee@2818 | 46 sed -i -e "s|-L$src/_pkg/usr/lib||g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@2818 | 47 sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $_pkg/usr/lib/pkgconfig/*.pc |
jozee@2818 | 48 sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $_pkg/usr/lib/pkgconfig/*.pc |
pascal@1511 | 49 } |
allan316@1358 | 50 |