serenity/Ports/emu2/package.sh
2023-09-09 01:06:31 +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[@]}"
}