wok-undigest view kdelibs/receipt @ rev 213

ovzkernel-i686: add gztazmod
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 04 07:32:18 2011 +0100 (2011-01-04)
parents
children 5ef0876735b3
line source
1 # SliTaz package receipt.
3 PACKAGE="kdelibs"
4 VERSION="4.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="The KDE library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="pcre qt4-phonon libQtCore libQtGui libQtScript giflib libxslt \
10 strigi attica"
11 BUILD_DEPENDS="$DEPENDS pcre-dev cmake qmake automoc4 Qt4-dev giflib-dev \
12 libxslt-dev strigi-dev attica-dev"
13 WEB_SITE="http://www.kde.org/"
14 WGET_URL="http://mirrors.isc.org/pub/kde/stable/$VERSION/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p build && cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DSYSCONF_INSTALL_DIR=/etc/kde \
24 .. &&
25 make &&
26 make DESTDIR=$src/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null
36 for d in apps config dbus-1 icons kde4 locale mime
37 do
38 cp -a $_pkg/usr/share/$d $fs/usr/share
39 done
40 }