wok-6.x annotate atk/receipt @ rev 23725
hplip: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 30 16:01:51 2020 +0000 (2020-04-30) |
parents | 86790a278e70 |
children | 68cf96abc146 |
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 |
pankso@22 | 25 # Rules to configure and make the package. |
pankso@22 | 26 compile_rules() |
pankso@22 | 27 { |
Hans-G?nter@22516 | 28 meson . \ |
Hans-G?nter@22516 | 29 _build \ |
Hans-G?nter@22516 | 30 --prefix=/usr && |
Hans-G?nter@22516 | 31 ninja -C _build && |
Hans-G?nter@22516 | 32 ninja -C _build install |
pankso@22 | 33 } |
pankso@22 | 34 |
pankso@22 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 36 genpkg_rules() |
pankso@22 | 37 { |
pankso@5387 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22516 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 40 } |