wok view polkit-qt/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
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 }