wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="at-spi2"
4 VERSION="2.42.0"
5 CATEGORY="libdevel"
6 LICENSE="GPL3"
7 SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service."
8 MAINTAINER="yuripourre@gmail.com"
9 SOURCE="at-spi2-core"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
14 DEPENDS="dbus glib gobject-introspection util-linux-uuid"
15 BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev \
16 util-linux-uuid-dev meson"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 meson build \
28 --prefix=/usr \
29 --libdir=lib \
30 --bindir=/usr/bin \
31 --sbindir=/usr/sbin \
32 --buildtype=release &&
33 ninja -C build &&
34 ninja -C build install
35 }
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }