wok-next view gnome-python/receipt @ rev 20766

childsplay: up (3.3); tiny edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 04:36:32 2018 +0300 (2018-06-06)
parents 757d032c55c7
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
15 esound libxml2-dev libgcrypt-dev"
16 SPLIT="python-gconf gnome-python gnome-python-dev"
18 compile_rules() {
19 ./configure \
20 --libexecdir=/usr/lib/$PACKAGE \
21 --sysconfdir=/etc/gnome \
22 --disable-pam \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 python-gconf)
32 copy gconf.so
33 CAT="system-tools|Python bindings for gconf"
34 ;;
35 gnome-python)
36 copy @std @rm
37 DEPENDS="python pygobject pygtk libgnome"
38 ;;
39 gnome-python-dev)
40 copy @dev
41 DEPENDS="gnome-python pkg-config"
42 ;;
43 esac
44 }