wok annotate gnome-python-desktop/receipt @ rev 24211

created recipe for perl-file-rsync
author Hans-G?nter Theisgen
date Fri Dec 31 16:00:22 2021 +0100 (2021-12-31)
parents 86790a278e70
children
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"
pascal@20421 10 WEB_SITE="https://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@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pascal@11229 23 # Rules to configure and make the package.
pascal@11229 24 compile_rules()
pascal@11229 25 {
pascal@11229 26 ./waf configure --prefix=/usr \
pascal@11229 27 --enable-module "gnomekeyring,rsvg,wnck" &&
pascal@11229 28 ./waf build &&
pascal@11229 29 ./waf install --destdir=$DESTDIR
pascal@11229 30 }
pascal@11229 31
pascal@11229 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11229 33 genpkg_rules()
pascal@11229 34 {
pascal@11229 35 mkdir -p $fs/usr/share
pankso@13653 36 cp -a $install/usr/lib $fs/usr
pankso@13653 37 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 38 }