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

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents f48456621a9d
children
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/polkit-qt-1"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 }