wok-next view pygobject/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents e70c0b9c5adf
children d43bf7aae921
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 compile_rules() {
19 ./configure \
20 --disable-introspection \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 pygobject)
28 copy @std
29 DEPENDS="python pycairo glib libffi"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="pygobject libffi-dev"
34 ;;
35 esac
36 }