pcsc-lite

Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
COPY --from=stagex/user-libusb . /
COPY --from=stagex/user-autoconf-archive . /
ADD fetch/pcsc-lite-${VERSION}.tar.xz .
WORKDIR /pcsc-lite-${VERSION}
RUN --network=none <<-EOF
	set -eux
	./bootstrap
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-libusb \
		--disable-libudev \
		--disable-maintainer-mode \
		--disable-silent-rules \
		--without-systemdsystemunitdir \
		--enable-ipcdir=/run/pcscd \
		--enable-usbdropdir=/usr/lib/pcsc/drivers \
		--disable-libsystemd \
		--disable-polkit \
		--disable-strict \
		--enable-static
	make -j "$(nproc)"
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /