wok-current view kdelibs/receipt @ rev 20136

Add (moved from undigest) : kdelibs, kactivities, kfilemetadata, qimageblitz, konsole, okular, kate
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Oct 30 02:35:48 2017 +0100 (2017-10-30)
parents
children b753ca9ee288
line source
1 # SliTaz package receipt.
3 PACKAGE="kdelibs"
4 VERSION="4.14.3"
5 CATEGORY="x-window"
6 SHORT_DESC="The KDE library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="http://download.kde.org/stable/$VERSION/src/$TARBALL"
13 DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \
14 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \
15 soprano shared-mime-info"
16 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \
17 attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \
18 libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \
19 shared-mime-info-dev phonon phonon-dev udisks2-dev udisks2 libQtDeclarative"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p build && cd build
25 cmake -DCMAKE_BUILD_TYPE=Release \
26 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DSYSCONF_INSTALL_DIR=/etc/kde \
29 -DKDE_DEFAULT_HOME=.config/kde \
30 -DCMAKE_SKIP_RPATH=ON \
31 -DKAUTH_BACKEND=PolkitQt-1 \
32 -DWITH_SOLID_UDISKS2=TRUE \
33 .. &&
34 make && 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 }