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

Add leanify
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 05 17:27:09 2018 +0300 (2018-06-05)
parents e6d548803bb4
children f48456621a9d
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 mesa-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 }