ccid
Source
FROM stagex/pallet-clang-meson-busybox AS build
COPY --from=stagex/core-flex . /
COPY --from=stagex/core-perl . /
COPY --from=stagex/core-m4 . /
COPY --from=stagex/user-pcsc-lite . /
COPY --from=stagex/user-libusb . /
ARG VERSION
ADD fetch/ccid-${VERSION}.tar.xz .
WORKDIR /ccid-${VERSION}
RUN --network=none <<-EOF
meson setup \
--prefix=/usr \
-Dpcsclite=true \
-Dudev-rules=false \
. output
meson compile -C output
DESTDIR=/rootfs meson install --no-rebuild -C output
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /Copied to clipboard!