wok view at-spi2-atk/receipt @ rev 24111

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 17:26:43 2021 +0000 (2021-09-28)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="at-spi2-atk"
4 VERSION="2.15.4"
5 CATEGORY="libdevel"
6 LICENSE="GPL3"
7 SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="atk dbus util-linux-uuid at-spi2"
14 BUILD_DEPENDS="at-spi2 atk-dev dbus-dev util-linux-uuid-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }