ladybird/Ports/emu2/package.sh
Tim Schumacher c07f91474d Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
2021-10-05 02:13:08 +02:00

11 lines
451 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=emu2
version="2021.01"
files="https://github.com/dmsc/emu2/archive/refs/tags/v${version}.tar.gz emu2-${version}.tar.gz 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72"
auth_type=sha256
build() {
export CC="${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc"
run make DESTDIR="${SERENITY_INSTALL_ROOT}" CC="${CC}" "${installopts[@]}"
}