wok-current view 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 source
1 # SliTaz package receipt.
3 PACKAGE="polkit-qt"
4 VERSION="0.99.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="polkit"
9 BUILD_DEPENDS="$DEPENDS qmake automoc4 polkit-dev"
10 TARBALL="$PACKAGE-1-$VERSION.tar.bz2"
11 WEB_SITE="http://www.kde.org/"
12 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $src/build
18 cd $src/build
19 cmake \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }