wok view pygobject3/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 8e0ca9e60f25
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject3"
4 SOURCE="pygobject"
5 VERSION="3.18.2"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for the GObject3 library"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://live.gnome.org/PyGObject"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
14 PROVIDE="python-gi"
15 DEPENDS="python pycairo glib libffi libgio gtk-girepository"
16 BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev libgio-dev \
17 pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool
29 ./configure $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }