wok view polkit/receipt @ rev 9098
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 22:10:40 2011 +0100 (2011-03-04) |
parents | 4bfc5c1bf9bb |
children | 65d249223836 |
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit"
4 VERSION="0.99"
5 CATEGORY="base-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 }