wok-4.x view PolicyKit0/receipt @ rev 3790
Add python-pygraphviz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 01 16:32:50 2009 +0200 (2009-08-01) |
parents | 5da17cf52da8 |
children | a9798561d07c |
line source
1 # SliTaz package receipt.
3 PACKAGE="PolicyKit0"
4 SOURCE="POLICY_KIT"
5 VERSION="0_9"
6 CATEGORY="system-tools"
7 SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="glibc-base glib dbus dbus-glib expat"
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 --prefix=/usr \
34 --enable-gtk-doc=no \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$src/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/etc $fs/usr
46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
47 cp -a $_pkg/usr/libexec $fs/usr
48 cp -a $_pkg/usr/var $fs
50 mkdir -p $fs/usr/share
51 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
52 cp -a $_pkg/usr/share/PolicyKit $fs/usr/share
53 }