wok-next view polkit-qt/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 4c3ee4d2d357
children c0521c689857
line source
1 # SliTaz package receipt v2.
3 PACKAGE="polkit-qt"
4 VERSION="0.112.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 WEB_SITE="https://github.com/KDE/polkit-qt-1"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/polkit-qt.html"
12 TARBALL="polkit-qt-1-$VERSION.tar.bz2"
13 WGET_URL="http://download.kde.org/stable/apps/KDE4.x/admin/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev polkit-dev glib-dev"
16 SPLIT="polkit-qt-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -Wno-dev \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 polkit-qt)
32 copy @std
33 DEPENDS="glib polkit qt5-base"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="polkit-qt qt5-dev"
38 ;;
39 esac
40 }