2021-03-06 02:18:44 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=bzip2
|
|
|
|
version=1.0.8
|
2021-04-16 17:39:43 +00:00
|
|
|
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz 67e051268d0c475ea773822f7500d0e5"
|
|
|
|
auth_type=md5
|
2021-04-19 14:19:19 +00:00
|
|
|
makeopts=bzip2
|
2021-04-20 15:42:04 +00:00
|
|
|
installopts="PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
|
2021-04-19 14:19:19 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
run make CC="${CC}" $makeopts bzip2
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-04-20 15:42:04 +00:00
|
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" $installopts install
|
2021-04-19 14:19:19 +00:00
|
|
|
}
|