wok-6.x 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 | f5aa68f84985 |
children | c2be6df62e6b |
files | polkit-qt-dev/receipt polkit-qt/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/polkit-qt-dev/receipt Fri Mar 18 13:11:13 2011 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="polkit-qt-dev" 1.7 +VERSION="0.99.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="polkit for QT API devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="polkit-qt" 1.12 +WEB_SITE="http://www.kde.org/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/cmake $fs/usr/lib 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/polkit-qt/receipt Fri Mar 18 13:11:13 2011 +0100 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="polkit-qt" 2.7 +VERSION="0.99.0" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="polkit" 2.12 +BUILD_DEPENDS="$DEPENDS qmake automoc4 polkit-dev" 2.13 +TARBALL="$PACKAGE-1-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.kde.org/" 2.15 +WGET_URL="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + mkdir -p $src/build 2.21 + cd $src/build 2.22 + cmake \ 2.23 + -DCMAKE_BUILD_TYPE=Release \ 2.24 + -DCMAKE_INSTALL_PREFIX=/usr .. && 2.25 + make && make install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.33 +}