wok view kdelibs/receipt @ rev 23925
Add Connect-Four
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 23 10:18:23 2020 +0000 (2020-08-23) |
parents | 3ae2d1f7b186 |
children | b9659e3c2111 |
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 WEB_SITE="http://www.kde.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://download.kde.org/Attic/$VERSION/src/$TARBALL"
14 DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \
15 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \
16 soprano shared-mime-info"
17 BUILD_DEPENDS="attica-dev automoc4 cmake dbus-dev docbook-xml docbook-xsl
18 enchant-dev giflib-dev libdbusmenu-qt-dev libQtDeclarative
19 librsvg-dev libxslt-dev mesa-dev openssl-dev phonon-dev polkit-qt-dev
20 qca-dev qmake Qt4-dev shared-mime-info-dev soprano-dev strigi-dev
21 udev-dev udisks2-dev udisks2"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i '316,317d' kdeui/CMakeLists.txt # duplicate else
28 mkdir build &&
29 cd build &&
30 cmake .. \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DSYSCONF_INSTALL_DIR=/etc/kde \
35 -DKDE_DEFAULT_HOME=.config/kde \
36 -DCMAKE_SKIP_RPATH=ON \
37 -DKAUTH_BACKEND=PolkitQt-1 \
38 -DWITH_SOLID_UDISKS2=TRUE &&
39 make -j 1 &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib $fs/usr
50 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null
51 for d in apps config dbus-1 icons kde4 locale mime
52 do
53 cp -a $install/usr/share/$d $fs/usr/share
54 done
55 }