wok annotate gnome-python/receipt @ rev 15452

Up: eeze-dev (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:58:08 2013 +0100 (2013-11-05)
parents d1e2a8a1dec3
children 16df76e1fc6a
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@15004 8 LICENSE="LGPL2"
pascal@11229 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7788 10 WEB_SITE="http://www.gnome.org/"
slaxemulator@7788 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7788 12
pascal@11229 13 DEPENDS="python pygobject pygtk libgnome"
pascal@13780 14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
pascal@13780 15 esound libxml2-dev"
pascal@11229 16
slaxemulator@7788 17 # Rules to configure and make the package.
slaxemulator@7788 18 compile_rules()
slaxemulator@7788 19 {
slaxemulator@7788 20 cd $src
pascal@11229 21 ./configure \
pascal@11229 22 --libexecdir=/usr/lib/$PACKAGE \
pascal@11229 23 --sysconfdir=/etc/gnome \
gokhlayeh@11573 24 --disable-pam $CONFIGURE_ARGS &&
pascal@11229 25 make && make install
slaxemulator@7788 26 }
slaxemulator@7788 27
slaxemulator@7788 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7788 29 genpkg_rules()
slaxemulator@7788 30 {
pascal@11229 31 mkdir -p $fs/usr/share
pascal@11229 32 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 33 cp -a $install/usr/lib $fs/usr
pascal@11229 34 rm -rf $fs/usr/lib/pkgconfig
pascal@11229 35 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
slaxemulator@7788 36 }