wok-current view polkit-qt/receipt @ rev 25709
Rework mesa-dri to use symlink (85% size free), thanks alanyih
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 03 16:29:38 2024 +0000 (6 months ago) |
parents | c15fedfb9582 |
children | 5926178cd6fa |
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="https://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 }