wok-6.x view atk/receipt @ rev 24625

updated grsync (1.2.6 -> 1.3.0)
author Hans-G?nter Theisgen
date Mon Mar 07 17:46:25 2022 +0100 (2022-03-07)
parents 5b7475b01999
children 71ea22396e62
line source
1 # SliTaz package receipt.
3 PACKAGE="atk"
4 VERSION="2.34.1"
5 CATEGORY="x-window"
6 TAGS="accessibility"
7 SHORT_DESC="Accessibility toolkit."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.gnome.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="glib"
16 BUILD_DEPENDS="glib-dev libgio-dev meson ninja"
18 HOST_ARCH="i486 arm"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
23 esac
25 current_version()
26 {
27 wget -O - https://gitlab.gnome.org/GNOME/atk/-/tags 2>/dev/null | \
28 sed '/ATK_/!d;s|.*/ATK_\(.*\)".*|\1|;s|_|.|g;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 meson . \
35 _build \
36 --prefix=/usr &&
37 ninja -C _build &&
38 ninja -C _build install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }