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