wok-stable view PolicyKit0/receipt @ rev 5623

Up: minicom (2.4)
author Alexander Medvedev <devl547@gmail.com>
date Thu May 27 18:39:41 2010 +0000 (2010-05-27)
parents ff70032e9ce9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="PolicyKit0"
4 SOURCE="POLICY_KIT"
5 VERSION="0_9"
6 CATEGORY="system-tools"
7 SHORT_DESC="Application development toolkit for controlling system-wide privileges."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="glibc-base glib dbus dbus-glib expat pam"
10 BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \
11 dbus-dev dbus-glib-dev expat-dev gettext pam-dev pam"
12 TARBALL="${SOURCE}_${VERSION}.tar.bz2"
13 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/"
14 WGET_URL="http://cgit.freedesktop.org/PolicyKit/snapshot/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv ${SOURCE}_${VERSION} $SOURCE-$VERSION
20 cd $src
22 # autogen.sh forces some unnecessary options; remove them
23 sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1
24 sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1
25 sed -i 's/--enable-maintainer-mode//' $src/autogen.sh || exit 1
26 sed -i 's/ doc / /' $src/Makefile.am || exit 1
27 sed -i 's|doc/Makefile||' $src/configure.in || exit 1
28 sed -i 's|doc/version.xml||' $src/configure.in || exit 1
29 sed -i 's|doc/man/Makefile||' $src/configure.in || exit 1
30 sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.in || exit 1
31 rm -r -f $src/docs
33 ./autogen.sh \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --libexecdir=/usr/lib/PolicyKit0 \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$src/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/etc $fs
49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
50 cp -a $_pkg/usr/lib/PolicyKit0 $fs/usr/lib
51 cp -a $_pkg/var $fs
53 mkdir -p $fs/usr/share
54 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
55 cp -a $_pkg/usr/share/PolicyKit $fs/usr/share
56 }