wok-current annotate at-spi2/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 6831608a1b2a
children
rev   line source
yuripourre@16877 1 # SliTaz package receipt.
yuripourre@16877 2
yuripourre@16877 3 PACKAGE="at-spi2"
shann@25634 4 VERSION="2.42.0"
yuripourre@16877 5 CATEGORY="libdevel"
yuripourre@16877 6 LICENSE="GPL3"
yuripourre@16877 7 SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service."
yuripourre@16877 8 MAINTAINER="yuripourre@gmail.com"
al@16881 9 SOURCE="at-spi2-core"
al@16881 10 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@20421 11 WEB_SITE="https://www.gnome.org/"
al@16881 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
yuripourre@16877 13
yuripourre@16877 14 DEPENDS="dbus glib gobject-introspection util-linux-uuid"
shann@25634 15 BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev \
shann@25634 16 util-linux-uuid-dev meson"
yuripourre@16877 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
yuripourre@16877 24 # Rules to configure and make the package.
yuripourre@16877 25 compile_rules()
yuripourre@16877 26 {
shann@25634 27 meson build \
shann@25634 28 --prefix=/usr \
shann@25634 29 --libdir=lib \
shann@25634 30 --bindir=/usr/bin \
shann@25634 31 --sbindir=/usr/sbin \
shann@25634 32 --buildtype=release &&
shann@25634 33 ninja -C build &&
shann@25634 34 ninja -C build install
yuripourre@16877 35 }
yuripourre@16877 36
yuripourre@16877 37 genpkg_rules()
yuripourre@16877 38 {
yuripourre@16877 39 cp -a $install/usr $fs
yuripourre@16877 40 }