wok-current view atk/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago) |
parents | 3ad63c8fc2f9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="atk"
4 VERSION="2.36.0"
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 x86_64"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86|x86_64) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
23 esac
25 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - https://gitlab.gnome.org/GNOME/atk/-/tags?sort=updated_desc 2>/dev/null | \
29 sed '/item-title/!d;s|.*tags/||;s|".*||;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 meson . \
36 _build \
37 --prefix=/usr &&
38 ninja -C _build &&
39 ninja -C _build install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }