wok-current annotate gnome-python-desktop/receipt @ rev 14057

tazinst: fix deps
author Dominique Corbex <domcox@slitaz.org>
date Wed Feb 20 10:48:27 2013 +0100 (2013-02-20)
parents 76213d85c15b
children 5286a067ac76
rev   line source
pascal@11229 1 # SliTaz package receipt.
pascal@11229 2
pascal@11229 3 PACKAGE="gnome-python-desktop"
pankso@13653 4 VERSION="2.30.2"
pascal@11229 5 CATEGORY="system-tools"
pascal@11229 6 SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)."
pascal@11229 7 MAINTAINER="pankso@slitaz.org"
pankso@13653 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@13653 9 WEB_SITE="http://www.gnome.org/"
pankso@13653 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@13653 11
pascal@11229 12 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
pascal@11229 13 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \
pascal@11229 14 librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
pascal@11229 15
pascal@11229 16 # Rules to configure and make the package.
pascal@11229 17 compile_rules()
pascal@11229 18 {
pascal@11229 19 cd $src
pascal@11229 20 ./waf configure --prefix=/usr \
pascal@11229 21 --enable-module "gnomekeyring,rsvg,wnck" &&
pascal@11229 22 ./waf build &&
pascal@11229 23 ./waf install --destdir=$DESTDIR
pascal@11229 24 }
pascal@11229 25
pascal@11229 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11229 27 genpkg_rules()
pascal@11229 28 {
pascal@11229 29 mkdir -p $fs/usr/share
pankso@13653 30 cp -a $install/usr/lib $fs/usr
pankso@13653 31 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 32 }