2021-03-06 02:18:44 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=bzip2
|
|
|
|
version=1.0.8
|
2021-04-25 10:20:15 +00:00
|
|
|
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
|
|
|
|
auth_type=sha256
|
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
|
|
|
}
|