wok annotate polkit-qt/receipt @ rev 25443

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 09:28:15 2022 +0000 (20 months ago)
parents 41a539cfe5f8
children 73f36875e5a7
rev   line source
pankso@9328 1 # SliTaz package receipt.
pankso@9328 2
pankso@9328 3 PACKAGE="polkit-qt"
pankso@15935 4 VERSION="0.103.0"
pankso@9328 5 CATEGORY="system-tools"
pankso@9328 6 SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API"
pankso@9328 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@9328 9 TARBALL="$PACKAGE-1-$VERSION.tar.bz2"
pankso@9328 10 WEB_SITE="http://www.kde.org/"
pascal@25443 11 WGET_URL="https://download.kde.org/stable/apps/KDE4.x/admin/$TARBALL"
pankso@9328 12
pascal@14996 13 DEPENDS="polkit"
pankso@15935 14 BUILD_DEPENDS="qmake Qt4-dev automoc4 polkit-dev libgio-dev glib-dev"
pascal@14996 15
pascal@24545 16 # What is the latest version available today?
pascal@24545 17 current_version()
pascal@24545 18 {
pascal@24545 19 wget -O - https://github.com/KDE/polkit-qt-1/tags 2>/dev/null | \
pascal@24545 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 21 }
pascal@24545 22
pankso@9328 23 # Rules to configure and make the package.
pankso@9328 24 compile_rules()
pankso@9328 25 {
pankso@9328 26 mkdir -p $src/build
pankso@9328 27 cd $src/build
pankso@9328 28 cmake \
pankso@9328 29 -DCMAKE_BUILD_TYPE=Release \
pankso@9328 30 -DCMAKE_INSTALL_PREFIX=/usr .. &&
pankso@9328 31 make && make install
pankso@9328 32 }
pankso@9328 33
pankso@9328 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9328 35 genpkg_rules()
pankso@9328 36 {
pankso@9328 37 mkdir -p $fs/usr/lib
pascal@14996 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@9328 39 }