wok-next annotate polkit-qt/receipt @ rev 21010
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 12 16:40:30 2018 +0300 (2018-10-12) |
parents | e6d548803bb4 |
children | f48456621a9d |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
pankso@9328 | 2 |
pankso@9328 | 3 PACKAGE="polkit-qt" |
al@19989 | 4 VERSION="0.112.0" |
pankso@9328 | 5 CATEGORY="system-tools" |
pankso@9328 | 6 SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API" |
pankso@9328 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@19989 | 9 WEB_SITE="https://github.com/KDE/polkit-qt-1" |
al@19989 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/polkit-qt.html" |
pankso@9328 | 11 |
al@19989 | 12 TARBALL="polkit-qt-1-$VERSION.tar.bz2" |
al@19989 | 13 WGET_URL="http://download.kde.org/stable/apps/KDE4.x/admin/$TARBALL" |
pascal@14996 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev polkit-dev glib-dev" |
al@19989 | 16 SPLIT="polkit-qt-dev" |
al@19989 | 17 |
al@19989 | 18 compile_rules() { |
al@19989 | 19 mkdir build; cd build |
pankso@9328 | 20 cmake \ |
pankso@9328 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 23 -Wno-dev \ |
al@19989 | 24 .. && |
al@19989 | 25 make && |
al@19989 | 26 make install |
pankso@9328 | 27 } |
pankso@9328 | 28 |
al@19989 | 29 genpkg_rules() { |
al@19989 | 30 case $PACKAGE in |
al@19989 | 31 polkit-qt) |
al@19989 | 32 copy @std |
al@19989 | 33 DEPENDS="glib polkit qt5-base" |
al@19989 | 34 ;; |
al@19989 | 35 *-dev) |
al@19989 | 36 copy @dev |
al@19989 | 37 DEPENDS="polkit-qt qt5-dev" |
al@19989 | 38 ;; |
al@19989 | 39 esac |
pankso@9328 | 40 } |