wok annotate atk/receipt @ rev 25589

xinput-calibrator: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 10:35:54 2023 +0000 (16 months ago)
parents 68cf96abc146
children
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@24869 25 # What is the latest version available today?
pascal@24066 26 current_version()
pascal@24066 27 {
pascal@24869 28 wget -O - https://gitlab.gnome.org/GNOME/atk/-/tags?sort=updated_desc 2>/dev/null | \
pascal@24869 29 sed '/item-title/!d;s|.*tags/||;s|".*||;q'
pascal@24066 30 }
pascal@24066 31
pankso@22 32 # Rules to configure and make the package.
pankso@22 33 compile_rules()
pankso@22 34 {
Hans-G?nter@22516 35 meson . \
Hans-G?nter@22516 36 _build \
Hans-G?nter@22516 37 --prefix=/usr &&
Hans-G?nter@22516 38 ninja -C _build &&
Hans-G?nter@22516 39 ninja -C _build install
pankso@22 40 }
pankso@22 41
pankso@22 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 43 genpkg_rules()
pankso@22 44 {
pankso@5387 45 mkdir -p $fs/usr/lib
Hans-G?nter@22516 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@22 47 }