wok annotate kactivities/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 544e47246b33
children 73f36875e5a7
rev   line source
psychomaniak@20136 1 # SliTaz package receipt.
psychomaniak@20136 2
psychomaniak@20136 3 PACKAGE="kactivities"
psychomaniak@20136 4 VERSION="4.13.3"
psychomaniak@20136 5 CATEGORY="x-window"
psychomaniak@20136 6 SHORT_DESC="provides the activitymanager for KDE"
psychomaniak@20136 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@20136 8 LICENSE="GPL2"
psychomaniak@20136 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@20136 10 WEB_SITE="http://www.kde.org/"
pascal@24972 11 WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL"
psychomaniak@20136 12
psychomaniak@20136 13 DEPENDS="kdelibs"
psychomaniak@20136 14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev dbus-dev \
psychomaniak@20136 15 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl \
psychomaniak@20136 16 polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative kdelibs kdelibs-dev"
psychomaniak@20136 17
pascal@24540 18 # What is the latest version available today?
pascal@24540 19 current_version()
pascal@24540 20 {
pascal@24540 21 wget -O - https://github.com/KDE/kactivities/tags 2>/dev/null | \
pascal@24540 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24540 23 }
pascal@24540 24
psychomaniak@20136 25 # Rules to configure and make the package.
psychomaniak@20136 26 compile_rules()
psychomaniak@20136 27 {
psychomaniak@20136 28 mkdir -p build && cd build
psychomaniak@20136 29 cmake -DCMAKE_BUILD_TYPE=Release \
psychomaniak@20136 30 -DCMAKE_INSTALL_PREFIX=/usr \
psychomaniak@20136 31 -Wno-dev .. &&
psychomaniak@20136 32 make && make install
psychomaniak@20136 33 }
psychomaniak@20136 34
psychomaniak@20136 35 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20136 36 genpkg_rules()
psychomaniak@20136 37 {
psychomaniak@20136 38 cp -a $install/* $fs
psychomaniak@20136 39 }