wok-next annotate gnome-python-desktop/receipt @ rev 18101
Up lighttpd (1.4.35)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:08:34 2015 +0200 (2015-06-01) |
parents | 5286a067ac76 |
children | 2e434c90efe5 |
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" |
al@18077 | 14 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \ |
al@18077 | 15 gnome-keyring-dev 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 ./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 } |