wok-next view pygobject3/receipt @ rev 20771

ghostscript, efl: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 18:33:39 2018 +0300 (2018-06-06)
parents 10df65db91ad
children 4e6503d7a19f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pygobject3"
4 VERSION="3.26.0"
5 CATEGORY="development"
6 SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Projects/PyGObject"
11 TARBALL="pygobject-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/pygobject/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="automake glib-dev libtool python-dev gobject-introspection-dev \
15 cairo-dev pycairo-dev"
16 SPLIT="pygobject3-dev"
18 compile_rules() {
19 NOCONFIGURE=1 ./autogen.sh &&
20 ./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 # sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 pygobject3)
31 copy @std
32 DEPENDS="cairo glib gobject-introspection libffi python"
33 PROVIDE="python-gi"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="pygobject3 glib-dev libffi-dev"
38 ;;
39 esac
40 }