SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-python-desktop"

# SliTaz package receipt.

PACKAGE="gnome-python-desktop"
VERSION="2.30.2"
CATEGORY="system-tools"
SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL LGPL"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.gnome.org/"
WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./waf configure --prefix=/usr \
        --enable-module "gnomekeyring,rsvg,wnck" &&
    ./waf build &&
    ./waf install --destdir=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/pygtk $fs/usr/share
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)