wok annotate GConf/receipt @ rev 7897
Up: module-init-tools 1.12
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 14:07:48 2011 +0100 (2011-01-09) |
parents | 6f6b86816a09 |
children | 217c4ce23964 |
rev | line source |
---|---|
rcx@3356 | 1 # SliTaz package receipt. |
rcx@3356 | 2 |
rcx@3356 | 3 PACKAGE="GConf" |
slaxemulator@7466 | 4 VERSION="2.32.0" |
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 \ |
pascal@4997 | 13 ORBit2-dev ORBit2 libxml2-dev PolicyKit0-dev PolicyKit0 intltool gettext \ |
slaxemulator@7554 | 14 gtk+-dev libcrypto libcomerr3 gobject-introspection-dev" |
rcx@3356 | 15 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3356 | 16 WEB_SITE="http://projects.gnome.org/gconf/" |
rcx@6012 | 17 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
rcx@3356 | 18 |
rcx@3356 | 19 # Rules to configure and make the package. |
rcx@3356 | 20 compile_rules() |
rcx@3356 | 21 { |
rcx@3356 | 22 cd $src |
slaxemulator@7466 | 23 # Patch from fedora - reloads gconf after installing schemas |
slaxemulator@7466 | 24 patch -Np1 -i ../stuff/gconf-reload.patch |
slaxemulator@7466 | 25 # http://bugzilla.gnome.org/show_bug.cgi?id=568845 |
slaxemulator@7466 | 26 patch -Np1 -i ../stuff/01_xml-gettext-domain.patch |
slaxemulator@7466 | 27 ./configure \ |
slaxemulator@7466 | 28 --prefix=/usr \ |
slaxemulator@7466 | 29 --sysconfdir=/etc \ |
slaxemulator@7466 | 30 --libexecdir=/usr/lib/GConf \ |
rcx@3356 | 31 $CONFIGURE_ARGS && |
slaxemulator@7466 | 32 make && |
slaxemulator@7466 | 33 make DESTDIR=$src/_pkg install |
rcx@3356 | 34 } |
rcx@3356 | 35 |
rcx@3356 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3356 | 37 genpkg_rules() |
rcx@3356 | 38 { |
pankso@3976 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@3976 | 40 cp -a $_pkg/usr/lib/GConf $fs/usr/lib |
rcx@3356 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7554 | 42 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@3976 | 43 rm $fs/usr/lib/GConf/2/*.*a |
rcx@3356 | 44 cp -a $_pkg/usr/bin $fs/usr |
pankso@3976 | 45 cp -a $_pkg/etc $fs |
rcx@3356 | 46 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
rcx@3356 | 47 cp -a $_pkg/usr/share/PolicyKit $fs/usr/share |
rcx@3356 | 48 } |