wok view gnome-python/receipt @ rev 24149

gcc: remove obsolete gawk comment
author Richard Dunbar <mojo@slitaz.org>
date Sat Nov 27 15:12:31 2021 -0500 (2021-11-27)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-python"
4 VERSION="2.28.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Python bindings for GNOME."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python pygobject pygtk libgnome"
14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
15 esound libxml2-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 ./configure \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --sysconfdir=/etc/gnome \
29 --disable-pam $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/share/pygtk $fs/usr/share
38 cp -a $install/usr/lib $fs/usr
39 rm -rf $fs/usr/lib/pkgconfig
40 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
41 }