wok-4.x diff polkit-qt/receipt @ rev 9328
Add polkit-qt (to help for KDE)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:11:13 2011 +0100 (2011-03-18) |
parents | |
children | 6e717e1cd190 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/polkit-qt/receipt Fri Mar 18 13:11:13 2011 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="polkit-qt" 1.7 +VERSION="0.99.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="polkit" 1.12 +BUILD_DEPENDS="$DEPENDS qmake automoc4 polkit-dev" 1.13 +TARBALL="$PACKAGE-1-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.kde.org/" 1.15 +WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mkdir -p $src/build 1.21 + cd $src/build 1.22 + cmake \ 1.23 + -DCMAKE_BUILD_TYPE=Release \ 1.24 + -DCMAKE_INSTALL_PREFIX=/usr .. && 1.25 + make && make install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 +}