wok view kdelibs/receipt @ rev 22406

Add knot-dns
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:38:12 2019 +0100 (2019-12-10)
parents 9634bfe73272
children 904d944562cd
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 sed -i '316,317d' kdeui/CMakeLists.txt # duplicate else
25 mkdir -p build && cd build
26 cmake -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 -DWITH_SOLID_UDISKS2=TRUE \
34 .. &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null
45 for d in apps config dbus-1 icons kde4 locale mime
46 do
47 cp -a $install/usr/share/$d $fs/usr/share
48 done
49 }