wok-next view pygtk/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 16df76e1fc6a |
children | 0e7893ac206d |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --disable-docs $CONFIGURE_ARGS &&
22 make $MAKEFLAGS && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 pygtk)
30 copy @std
31 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 \
32 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
33 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
34 xorg-libXrandr xorg-libXrender xorg-libXdamage libffi python-numpy"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="pygtk gtk+-dev pygobject-dev pycairo-dev"
39 ;;
40 esac
41 }