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