wok-current view polkit/receipt @ rev 8476

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