wok-6.x annotate polkit/receipt @ rev 8914

gtk+: add wget in BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 17:00:32 2011 +0100 (2011-02-28)
parents 4bfc5c1bf9bb
children 65d249223836
rev   line source
slaxemulator@7921 1 # SliTaz package receipt.
slaxemulator@7921 2
slaxemulator@7921 3 PACKAGE="polkit"
slaxemulator@7921 4 VERSION="0.99"
slaxemulator@8860 5 CATEGORY="base-system"
slaxemulator@7921 6 SHORT_DESC="Application development toolkit for controlling system-wide privileges."
slaxemulator@7921 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7921 8 DEPENDS="glibc-base glib libgio dbus dbus-glib expat pam"
slaxemulator@7921 9 BUILD_DEPENDS="glib-dev libgio-dev dbus-dev dbus-glib-dev expat-dev pam-dev pkg-config intltool gobject-introspection-dev "
slaxemulator@7921 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7921 11 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
slaxemulator@7921 12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
slaxemulator@7921 13
slaxemulator@7921 14 # Rules to configure and make the package.
slaxemulator@7921 15 compile_rules()
slaxemulator@7921 16 {
slaxemulator@7921 17 cd $src
slaxemulator@7921 18
slaxemulator@7922 19 ./configure \
slaxemulator@7922 20 --prefix=/usr \
slaxemulator@7921 21 --sysconfdir=/etc \
slaxemulator@7921 22 --localstatedir=/var \
slaxemulator@7921 23 --libexecdir=/usr/lib/polkit-1 \
slaxemulator@7922 24 --disable-man-pages \
slaxemulator@7922 25 --disable-gtk-doc \
slaxemulator@7921 26 $CONFIGURE_ARGS &&
slaxemulator@7921 27 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7921 28 }
slaxemulator@7921 29
slaxemulator@7921 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7921 31 genpkg_rules()
slaxemulator@7921 32 {
slaxemulator@7921 33 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@7921 34 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7921 35 cp -a $_pkg/etc $fs
slaxemulator@7921 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7921 37 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
slaxemulator@7921 38 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
slaxemulator@7921 39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
slaxemulator@7921 40 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
slaxemulator@7921 41 cp -a $_pkg/var $fs
slaxemulator@7921 42 }
slaxemulator@7921 43