wok-4.x view GConf/receipt @ rev 7830

emacs: gconf dependency removed
author Dominique Corbex <domcox@slitaz.org>
date Sun Dec 26 21:26:07 2010 +0100 (2010-12-26)
parents 6f6b86816a09
children 217c4ce23964
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 PolicyKit0 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 PolicyKit0-dev PolicyKit0 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/PolicyKit $fs/usr/share
48 }