wok-next annotate GConf/receipt @ rev 3976

Fix: GConf install path to be fsh compliant
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 27 14:54:49 2009 +0200 (2009-08-27)
parents b8be92699358
children 9554030e83f1
rev   line source
rcx@3356 1 # SliTaz package receipt.
rcx@3356 2
rcx@3356 3 PACKAGE="GConf"
rcx@3356 4 VERSION="2.26.2"
rcx@3356 5 CATEGORY="utilities"
rcx@3356 6 SHORT_DESC="A configuration database system."
rcx@3356 7 MAINTAINER="rcx@zoominternet.net"
rcx@3356 8 DEPENDS="glibc-base glib libgio dbus dbus-glib expat libxml2 zlib \
rcx@3356 9 PolicyKit0 ORBit2 atk cairo gtk+ fontconfig freetype pango pixman libpng \
rcx@3356 10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
rcx@3356 11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
rcx@3356 12 BUILD_DEPENDS="slitaz-toolchain glib-dev dbus-dev dbus-glib-dev expat-dev \
rcx@3356 13 ORBit2-dev ORBit2 libxml2-dev PolicyKit0-dev PolicyKit0 intltool gettext gtk+-dev"
rcx@3356 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rcx@3356 15 WEB_SITE="http://projects.gnome.org/gconf/"
rcx@3356 16 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/2.26/$TARBALL"
rcx@3356 17
rcx@3356 18 # Rules to configure and make the package.
rcx@3356 19 compile_rules()
rcx@3356 20 {
rcx@3356 21 cd $src
pankso@3976 22 ./configure \
pankso@3976 23 --prefix=/usr \
pankso@3976 24 --sysconfdir=/etc \
pankso@3976 25 --libexecdir=/usr/lib/GConf \
rcx@3356 26 $CONFIGURE_ARGS &&
rcx@3356 27 make &&
rcx@3356 28 make DESTDIR=$src/_pkg install
rcx@3356 29 }
rcx@3356 30
rcx@3356 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3356 32 genpkg_rules()
rcx@3356 33 {
pankso@3976 34 mkdir -p $fs/usr/lib $fs/usr/share
pankso@3976 35 cp -a $_pkg/usr/lib/GConf $fs/usr/lib
rcx@3356 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3976 37 rm $fs/usr/lib/GConf/2/*.*a
rcx@3356 38 cp -a $_pkg/usr/bin $fs/usr
pankso@3976 39 cp -a $_pkg/etc $fs
rcx@3356 40 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
rcx@3356 41 cp -a $_pkg/usr/share/PolicyKit $fs/usr/share
rcx@3356 42 }