wok-4.x view polkit-qt/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents f0be8d6fdffb
children
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 Qt4-dev 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 }