wok-next view pygtk/receipt @ rev 20617

Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 13:54:55 2018 +0300 (2018-04-21)
parents 0e7893ac206d
children 4e6503d7a19f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pygtk"
4 VERSION="2.24.0"
5 CATEGORY="development"
6 SHORT_DESC="GTK+ for Python"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.pygtk.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \
15 libglade-dev libxml2-dev libffi-dev python-numpy"
16 SPLIT="pygtk-dev"
18 compile_rules() {
19 ./configure \
20 --disable-docs \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make $MAKEFLAGS &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 pygtk)
30 copy @std
31 DEPENDS="atk cairo gdk-pixbuf glib gtk+ libglade pango python"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="pygtk gtk+-dev pygobject-dev"
36 ;;
37 esac
38 }