wok view atk/receipt @ rev 25795
created recipe for libxfcegui4-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago) |
parents | 68cf96abc146 |
children |
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 # 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 }