summaryrefslogtreecommitdiff
path: root/Ports/emu2/package.sh
blob: 04d371f425d105aff0d0bcc517f990e52444123a (plain)
1
2
3
4
5
6
7
8
9
10
#!/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[@]}"
}