wok-next view pygobject3/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
parents | e70c0b9c5adf |
children | 10df65db91ad |
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 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 pygobject3)
30 copy @std
31 DEPENDS="cairo glib gobject-introspection libffi python"
32 PROVIDE="python-gi"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="pygobject3 bzip2-dev cairo-dev fontconfig-dev \
37 freetype-dev glib-dev gobject-introspection-dev harfbuzz-dev \
38 libffi-dev libpng16-dev libxml2-dev pcre-dev util-linux-blkid-dev \
39 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
40 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
41 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
42 ;;
43 esac
44 }