wok-current view polkit-qt/receipt @ rev 25731
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:28:03 2024 +0000 (2 months ago) |
parents | 73f36875e5a7 |
children |
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 HOST_ARCH="i486 x86_64"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/KDE/polkit-qt-1/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $src/build
29 cd $src/build
30 cmake \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DCMAKE_INSTALL_PREFIX=/usr .. &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }