wok-current annotate polkit-qt/receipt @ rev 13585

sbxkb: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 06 12:55:04 2012 +0100 (2012-11-06)
parents f0be8d6fdffb
children 3a015351265b
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"
pascal@9340 9 BUILD_DEPENDS="$DEPENDS qmake Qt4-dev automoc4 polkit-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 }