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

Up: cups, cups-dev, cups-pam (1.5.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 21:47:07 2012 +0200 (2012-06-18)
parents f13b284197a2
children d1e2a8a1dec3
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@11509 13 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile esound"
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 \
gokhlayeh@11573 22 --disable-pam $CONFIGURE_ARGS &&
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 }