Ports: Add bzip2 port

Saw that it can be included with the freetype port, so I added it.
This commit is contained in:
Luke 2021-03-06 02:18:44 +00:00 committed by Andreas Kling
parent c2f3d3afe1
commit 89846b5b7c
2 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`binutils`](binutils/) | GNU Binutils | 2.32 | https://www.gnu.org/software/binutils/ |
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |
| [`byacc`](byacc/) | Berkeley Yacc | 20191125 | https://invisible-island.net/byacc/byacc.html |
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
| [`c-ray`](c-ray/) | C-Ray | | https://github.com/vkoskiv/c-ray |
| [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ |
| [`curl`](curl/) | curl | 7.65.3 | https://curl.se/ |

7
Ports/bzip2/package.sh Executable file
View file

@ -0,0 +1,7 @@
#!/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"
workdir="bzip2-$version"
makeopts="bzip2 CC=${CC}"
installopts="PREFIX=${SERENITY_ROOT}/Build/Root/usr/local"