wok view kactivities/receipt @ rev 24942
BootProg: clear cmdline
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 20 15:10:50 2022 +0000 (2022-04-20) |
parents | 9634bfe73272 |
children | bd7510903310 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kactivities"
4 VERSION="4.13.3"
5 CATEGORY="x-window"
6 SHORT_DESC="provides the activitymanager for KDE"
7 MAINTAINER="psychomaniak@xakep.ru"
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="kdelibs"
14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev dbus-dev \
15 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl \
16 polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative kdelibs kdelibs-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/KDE/kactivities/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p build && cd build
29 cmake -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -Wno-dev .. &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }