ladybird/Ports/emu2/package.sh
2023-08-08 19:57:43 +02:00

12 lines
419 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 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72"
)
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[@]}"
}