wok-next annotate gnome-python/receipt @ rev 11229

Add from wok-undigest: gnome-python-desktop gnome-python-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 12:53:37 2011 +0100 (2011-11-04)
parents 8f61ae7039d1
children f13b284197a2
rev   line source
slaxemulator@7788 1 # SliTaz package receipt.
slaxemulator@7788 2
slaxemulator@7788 3 PACKAGE="gnome-python"
slaxemulator@7788 4 VERSION="2.28.1"
pascal@11229 5 CATEGORY="x-window"
pascal@11229 6 SHORT_DESC="Python bindings for GNOME."
slaxemulator@7788 7 MAINTAINER="pankso@slitaz.org"
pascal@11229 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7788 9 WEB_SITE="http://www.gnome.org/"
slaxemulator@7788 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7788 11
pascal@11229 12 DEPENDS="python pygobject pygtk libgnome"
pascal@11229 13 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev"
pascal@11229 14
slaxemulator@7788 15 # Rules to configure and make the package.
slaxemulator@7788 16 compile_rules()
slaxemulator@7788 17 {
slaxemulator@7788 18 cd $src
pascal@11229 19 ./configure \
pascal@11229 20 --libexecdir=/usr/lib/$PACKAGE \
pascal@11229 21 --sysconfdir=/etc/gnome \
pascal@11229 22 --disable-pam &&
pascal@11229 23 make && make install
slaxemulator@7788 24 }
slaxemulator@7788 25
slaxemulator@7788 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7788 27 genpkg_rules()
slaxemulator@7788 28 {
pascal@11229 29 mkdir -p $fs/usr/share
pascal@11229 30 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 31 cp -a $install/usr/lib $fs/usr
pascal@11229 32 rm -rf $fs/usr/lib/pkgconfig
pascal@11229 33 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
slaxemulator@7788 34 }