wok annotate polkit-qt/receipt @ rev 21881

warmux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 18:44:01 2019 +0200 (2019-09-29)
parents 76b72f1ad63c
children b9659e3c2111
rev   line source
pankso@9328 1 # SliTaz package receipt.
pankso@9328 2
pankso@9328 3 PACKAGE="polkit-qt"
pankso@15935 4 VERSION="0.103.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"
pankso@9328 9 TARBALL="$PACKAGE-1-$VERSION.tar.bz2"
pankso@9328 10 WEB_SITE="http://www.kde.org/"
pankso@9328 11 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL"
pankso@9328 12
pascal@14996 13 DEPENDS="polkit"
pankso@15935 14 BUILD_DEPENDS="qmake Qt4-dev automoc4 polkit-dev libgio-dev glib-dev"
pascal@14996 15
pankso@9328 16 # Rules to configure and make the package.
pankso@9328 17 compile_rules()
pankso@9328 18 {
pankso@9328 19 mkdir -p $src/build
pankso@9328 20 cd $src/build
pankso@9328 21 cmake \
pankso@9328 22 -DCMAKE_BUILD_TYPE=Release \
pankso@9328 23 -DCMAKE_INSTALL_PREFIX=/usr .. &&
pankso@9328 24 make && make install
pankso@9328 25 }
pankso@9328 26
pankso@9328 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9328 28 genpkg_rules()
pankso@9328 29 {
pankso@9328 30 mkdir -p $fs/usr/lib
pascal@14996 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@9328 32 }