# HG changeset patch # User Christophe Lincoln # Date 1300450273 -3600 # Node ID f0be8d6fdffba1114b0a47f091b912065385278c # Parent f5aa68f849857093af144cc468314c160e454499 Add polkit-qt (to help for KDE) diff -r f5aa68f84985 -r f0be8d6fdffb polkit-qt-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/polkit-qt-dev/receipt Fri Mar 18 13:11:13 2011 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="polkit-qt-dev" +VERSION="0.99.0" +CATEGORY="development" +SHORT_DESC="polkit for QT API devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="polkit-qt" +WEB_SITE="http://www.kde.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/cmake $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r f5aa68f84985 -r f0be8d6fdffb polkit-qt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/polkit-qt/receipt Fri Mar 18 13:11:13 2011 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="polkit-qt" +VERSION="0.99.0" +CATEGORY="system-tools" +SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API" +MAINTAINER="pankso@slitaz.org" +DEPENDS="polkit" +BUILD_DEPENDS="$DEPENDS qmake automoc4 polkit-dev" +TARBALL="$PACKAGE-1-$VERSION.tar.bz2" +WEB_SITE="http://www.kde.org/" +WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $src/build + cd $src/build + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr .. && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}