wok-next view pygobject/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | 52c764d3ee0f |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pygobject"
4 VERSION="2.28.6"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python python-dev pkg-config glib-dev pycairo-dev \
15 cairo-dev libffi-dev util-linux-mount-dev"
16 SPLIT="pygobject-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --disable-introspection $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 pygobject)
30 copy @std
31 DEPENDS="python pycairo glib libffi"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="pygobject libffi-dev"
36 ;;
37 esac
38 }