# SliTaz package receipt. PACKAGE="at-spi2" VERSION="2.42.0" CATEGORY="libdevel" LICENSE="GPL3" SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service." MAINTAINER="yuripourre@gmail.com" SOURCE="at-spi2-core" TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="https://www.gnome.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL" DEPENDS="dbus glib gobject-introspection util-linux-uuid" BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev \ util-linux-uuid-dev meson" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { meson build \ --prefix=/usr \ --libdir=lib \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --buildtype=release && ninja -C build && ninja -C build install } genpkg_rules() { cp -a $install/usr $fs }