json-glib

Details
Source
FROM stagex/pallet-gcc-meson-busybox AS build
ARG VERSION
COPY --from=stagex/core-libxml2 . /
COPY --from=stagex/core-libxslt . /
COPY --from=stagex/core-gettext . /
COPY --from=stagex/core-expat . /
COPY --from=stagex/core-pcre2 . /
COPY --from=stagex/user-rhash . /
COPY --from=stagex/user-util-linux . /
COPY --from=stagex/user-glib . /
ADD fetch/json-glib-${VERSION}.tar.xz .
WORKDIR /json-glib-${VERSION}
RUN --network=none <<-EOF
	set -eux
  meson setup \
		--default-library=shared \
		--prefix=/usr \
		-Dgtk_doc=disabled \
		. output
	meson compile -C output
	DESTDIR=/rootfs meson install --no-rebuild -C output
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /