wok-next view pygobject/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | d43bf7aae921 |
children | 4e6503d7a19f |
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 glib-dev pycairo-dev \
15 cairo-dev libffi-dev util-linux-mount-dev"
16 SPLIT="pygobject-dev"
18 compile_rules() {
19 ./configure \
20 --disable-introspection \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
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 }