wok-6.x view gnome-python/receipt @ rev 20552

Update get-palemoon for 28.2.2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 11 10:30:11 2018 +0100 (2018-12-11)
parents 16df76e1fc6a
children 6831608a1b2a
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --sysconfdir=/etc/gnome \
23 --disable-pam $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/share/pygtk $fs/usr/share
32 cp -a $install/usr/lib $fs/usr
33 rm -rf $fs/usr/lib/pkgconfig
34 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
35 }