wok annotate gnome-python-desktop/receipt @ rev 15843
Up: python-distribute to 0.6.49.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 06:12:51 2014 +0000 (2014-01-27) |
parents | 7bae4b5c4549 |
children | 16df76e1fc6a |
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" |
pascal@15022 | 8 LICENSE="GPL LGPL" |
pankso@13653 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@13653 | 10 WEB_SITE="http://www.gnome.org/" |
pankso@13653 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@13653 | 12 |
pascal@11229 | 13 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck" |
pascal@11229 | 14 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \ |
pascal@11229 | 15 librsvg-dev libwnck-dev pygtk-dev gnome-python-dev" |
pascal@11229 | 16 |
pascal@11229 | 17 # Rules to configure and make the package. |
pascal@11229 | 18 compile_rules() |
pascal@11229 | 19 { |
pascal@11229 | 20 cd $src |
pascal@11229 | 21 ./waf configure --prefix=/usr \ |
pascal@11229 | 22 --enable-module "gnomekeyring,rsvg,wnck" && |
pascal@11229 | 23 ./waf build && |
pascal@11229 | 24 ./waf install --destdir=$DESTDIR |
pascal@11229 | 25 } |
pascal@11229 | 26 |
pascal@11229 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11229 | 28 genpkg_rules() |
pascal@11229 | 29 { |
pascal@11229 | 30 mkdir -p $fs/usr/share |
pankso@13653 | 31 cp -a $install/usr/lib $fs/usr |
pankso@13653 | 32 cp -a $install/usr/share/pygtk $fs/usr/share |
pascal@11229 | 33 } |