wok view polkit-qt/receipt @ rev 24702
updated knock (0.7.8 -> 0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 09:51:46 2022 +0100 (2022-03-14) |
parents | f4d4a64a2474 |
children | 41a539cfe5f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit-qt"
4 VERSION="0.103.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-1-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL"
13 DEPENDS="polkit"
14 BUILD_DEPENDS="qmake Qt4-dev automoc4 polkit-dev libgio-dev glib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/KDE/polkit-qt-1/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $src/build
27 cd $src/build
28 cmake \
29 -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }