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