wok-next annotate polkit-qt/receipt @ rev 21627
updated enet (1.2.1 -> 1.3.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:07:08 2020 +0100 (2020-06-25) |
parents | f48456621a9d |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@19989 | 9 WEB_SITE="https://github.com/KDE/polkit-qt-1" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 16 SPLIT="$PACKAGE-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 } |