wok-undigest view kdelibs/receipt @ rev 813

Move to wok: shell-detector
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:40:31 2012 +0200 (2012-08-14)
parents 3a1f5afa4323
children 1ef621db1c6d
line source
1 # SliTaz package receipt.
3 PACKAGE="kdelibs"
4 VERSION="4.8.3"
5 CATEGORY="x-window"
6 SHORT_DESC="The KDE library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.kde.org/"
10 WGET_URL="http://mirrors.isc.org/pub/kde/stable/$VERSION/src/$TARBALL"
12 DEPENDS="qt4-phonon libQtCore libQtGui libQtScript giflib libxslt qca \
13 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \
14 soprano shared-mime-info"
15 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \
16 attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \
17 libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \
18 shared-mime-info-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 #-DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-4.5
24 mkdir -p build && cd build
25 cmake \
26 -DCMAKE_BUILD_TYPE=Release \
27 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DSYSCONF_INSTALL_DIR=/etc/kde \
30 -DKDE_DEFAULT_HOME=.config/kde \
31 -DCMAKE_SKIP_RPATH=ON \
32 -DKAUTH_BACKEND=PolkitQt-1 \
33 .. &&
34 make -j 1 && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null
44 for d in apps config dbus-1 icons kde4 locale mime
45 do
46 cp -a $install/usr/share/$d $fs/usr/share
47 done
48 }