wok-current annotate polkit-qt/receipt @ rev 15732

Up: cookutils (3.1.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 28 15:39:34 2013 +0000 (2013-12-28)
parents 3a015351265b
children f4d4a64a2474
rev   line source
pankso@9328 1 # SliTaz package receipt.
pankso@9328 2
pankso@9328 3 PACKAGE="polkit-qt"
pankso@9328 4 VERSION="0.99.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"
pascal@14996 14 BUILD_DEPENDS="$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 }