wok view polkit-qt/receipt @ rev 25462

ufraw: include exiv2/error.hpp in ufraw_exiv2.cc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 10:52:41 2022 +0000 (2022-09-28)
parents 41a539cfe5f8
children 73f36875e5a7
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="https://download.kde.org/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 }