wok view babl/receipt @ rev 24526

updated exempi and exempi-dev (2.5.1 -> 2.6.1)
author Hans-G?nter Theisgen
date Tue Feb 22 17:39:50 2022 +0100 (2022-02-22)
parents f73dc49d0a42
children bc2b9d9bed6f
line source
1 # SliTaz package receipt.
3 PACKAGE="babl"
4 VERSION="0.1.88"
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="https://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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://download.gimp.org/pub/$PACKAGE/$( \
23 wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \
24 sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|\\1|" | sort -Vr | sed q) 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 meson _build \
35 --prefix=/usr
36 ninja -C _build &&
37 ninja -C _build install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/babl-* $fs/usr/lib
47 # rm $fs/usr/lib/babl-*/*.*a
48 }