wok-6.x view atk/receipt @ rev 23570

added recipe for python-twodict
author Hans-G?nter Theisgen
date Tue Apr 07 09:38:04 2020 +0100 (2020-04-07)
parents 86790a278e70
children 68cf96abc146
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 # Rules to configure and make the package.
26 compile_rules()
27 {
28 meson . \
29 _build \
30 --prefix=/usr &&
31 ninja -C _build &&
32 ninja -C _build install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }