wok view babl/receipt @ rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (2021-10-04)
parents 44de6fc18c6b
children f73dc49d0a42
line source
1 # SliTaz package receipt.
3 PACKAGE="babl"
4 VERSION="0.1.72"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pixel format translation library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://gegl.org/babl/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="gcc83-lib-base gobject-introspection lcms2"
15 BUILD_DEPENDS="gcc83 gobject-introspection-dev lcms2-dev meson ninja"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CC=gcc-83
23 export CXX=g++-83
25 meson build --prefix=/usr
26 cd build
27 ninja &&
28 ninja install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/babl-* $fs/usr/lib
38 # rm $fs/usr/lib/babl-*/*.*a
39 }