wok-6.x view gnome-python-desktop/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 86790a278e70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-python-desktop"
4 VERSION="2.30.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
14 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
15 gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./waf configure --prefix=/usr \
27 --enable-module "gnomekeyring,rsvg,wnck" &&
28 ./waf build &&
29 ./waf install --destdir=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/pygtk $fs/usr/share
38 }