wok-next view GConf/receipt @ rev 7921

Add polkit. It replaces PolicyKit and PolicyKit0. No need to add a PROVIDES since only GConf depends on them.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 20:57:58 2011 +0000 (2011-01-09)
parents fbb45e0b2d35
children f8a3deafc73a
line source
1 # SliTaz package receipt.
3 PACKAGE="GConf"
4 VERSION="2.32.0"
5 CATEGORY="utilities"
6 SHORT_DESC="A configuration database system."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base glib libgio dbus dbus-glib expat libxml2 zlib \
9 polkit ORBit2 atk cairo gtk+ fontconfig freetype pango pixman libpng \
10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
12 BUILD_DEPENDS="slitaz-toolchain glib-dev dbus-dev dbus-glib-dev expat-dev \
13 ORBit2-dev ORBit2 libxml2-dev polkit-dev intltool gettext \
14 gtk+-dev libcrypto libcomerr3 gobject-introspection-dev"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://projects.gnome.org/gconf/"
17 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 # Patch from fedora - reloads gconf after installing schemas
24 patch -Np1 -i ../stuff/gconf-reload.patch
25 # http://bugzilla.gnome.org/show_bug.cgi?id=568845
26 patch -Np1 -i ../stuff/01_xml-gettext-domain.patch
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --libexecdir=/usr/lib/GConf \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$src/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $_pkg/usr/lib/GConf $fs/usr/lib
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
43 rm $fs/usr/lib/GConf/2/*.*a
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/etc $fs
46 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
47 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
48 }