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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c022997c7a57
children
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="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev python-pygobject2-dev python-pygtk-dev libgnome-dev audiofile \
15 esound libxml2-dev libgcrypt-dev"
16 SPLIT="python-gconf $PACKAGE $PACKAGE-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 python-pygobject2 python-pygtk libgnome"
38 ;;
39 gnome-python-dev)
40 copy @dev
41 DEPENDS="gnome-python pkg-config"
42 ;;
43 esac
44 }