wok annotate GConf/receipt @ rev 9300

get-flash-plugin: use busybox wget
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 17 16:20:37 2011 +0100 (2011-03-17)
parents 217c4ce23964
children 598224053c16
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 \
slaxemulator@7921 9 polkit 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 \
slaxemulator@7921 13 ORBit2-dev ORBit2 libxml2-dev polkit-dev 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@7924 23
slaxemulator@7466 24 ./configure \
slaxemulator@7466 25 --prefix=/usr \
slaxemulator@7466 26 --sysconfdir=/etc \
slaxemulator@7466 27 --libexecdir=/usr/lib/GConf \
rcx@3356 28 $CONFIGURE_ARGS &&
slaxemulator@7466 29 make &&
slaxemulator@7466 30 make DESTDIR=$src/_pkg install
rcx@3356 31 }
rcx@3356 32
rcx@3356 33 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3356 34 genpkg_rules()
rcx@3356 35 {
pankso@3976 36 mkdir -p $fs/usr/lib $fs/usr/share
pankso@3976 37 cp -a $_pkg/usr/lib/GConf $fs/usr/lib
rcx@3356 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7554 39 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pankso@3976 40 rm $fs/usr/lib/GConf/2/*.*a
rcx@3356 41 cp -a $_pkg/usr/bin $fs/usr
pankso@3976 42 cp -a $_pkg/etc $fs
rcx@3356 43 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
slaxemulator@7921 44 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
rcx@3356 45 }