libverto

Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
COPY --from=stagex/core-openssl . /
COPY --from=stagex/core-libedit . /
COPY --from=stagex/core-python . /
COPY --from=stagex/user-util-linux . /
COPY --from=stagex/user-e2fsprogs . /
COPY --from=stagex/user-openldap . /
COPY --from=stagex/user-groff . /
COPY --from=stagex/user-libevent . /
ADD fetch/libverto-${VERSION}.tar.gz .
WORKDIR /libverto-${VERSION}
RUN --network=none <<-EOF
	set -eux
	./configure \
		--prefix=/usr \
		--localstatedir=/var/lib \
		--with-libdev \
		--with-libevent
	make -j "$(nproc)"
	make DESTDIR=/rootfs install
	mv /rootfs/usr/lib/libverto-libevent.so.* /rootfs/usr/lib/
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /