wok-next annotate polkit-qt/receipt @ rev 13994
polkit-qt fix build dependencies
author | ernia <monghitri@aruba.it> |
---|---|
date | Tue Feb 12 13:03:47 2013 +0000 (2013-02-12) |
parents | 6e717e1cd190 |
children | 76b72f1ad63c |
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" |
pankso@9328 | 8 DEPENDS="polkit" |
monghitri@13994 | 9 BUILD_DEPENDS="$DEPENDS qmake Qt4-dev automoc4 polkit-dev libgio-dev glib-dev" |
pankso@9328 | 10 TARBALL="$PACKAGE-1-$VERSION.tar.bz2" |
pankso@9328 | 11 WEB_SITE="http://www.kde.org/" |
pankso@9328 | 12 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL" |
pankso@9328 | 13 |
pankso@9328 | 14 # Rules to configure and make the package. |
pankso@9328 | 15 compile_rules() |
pankso@9328 | 16 { |
pankso@9328 | 17 mkdir -p $src/build |
pankso@9328 | 18 cd $src/build |
pankso@9328 | 19 cmake \ |
pankso@9328 | 20 -DCMAKE_BUILD_TYPE=Release \ |
pankso@9328 | 21 -DCMAKE_INSTALL_PREFIX=/usr .. && |
pankso@9328 | 22 make && make install |
pankso@9328 | 23 } |
pankso@9328 | 24 |
pankso@9328 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9328 | 26 genpkg_rules() |
pankso@9328 | 27 { |
pankso@9328 | 28 mkdir -p $fs/usr/lib |
pankso@9328 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@9328 | 30 } |