An Alpine based Docker image for cross-compiling to FreeBSD (11, amd64) using clang.
- Allows pkg dependency installation!
- Configures pkgconf (pkg-config)!
- Configures meson! (use
--cross-file freebsd
)
FROM myfreeweb/freebsd-cross:latest
RUN apk add --no-cache meson
RUN pkg -r /freebsd install -y libepoll-shim libudev-devd libevdev libwacom gtk3 libmtdev
ADD . /build
RUN cd /build && \
meson build --cross-file freebsd -Ddocumentation=false -Dtests=false -Depoll-dir=/freebsd/usr/local/ && \
ninja -Cbuild
Please feel free to submit pull requests!
By participating in this project you agree to follow the Contributor Code of Conduct.
The list of contributors is available on GitHub.
This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE
file or unlicense.org.