ladybird/Ports/bzip2/package.sh
2021-04-25 13:30:18 +02:00

15 lines
456 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=bzip2
version=1.0.8
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
auth_type=sha256
makeopts=bzip2
installopts="PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
build() {
run make CC="${CC}" $makeopts bzip2
}
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" $installopts install
}