summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2021-03-06 02:18:44 +0000
committerAndreas Kling <kling@serenityos.org>2021-03-06 14:56:51 +0100
commit89846b5b7c0ce074103ca400cc25794d44f16492 (patch)
tree66a34bd5c0d3f3f0668e71322104a43f9e65b134 /Ports
parentc2f3d3afe1263a280ab8901f15e369c90680b28c (diff)
downloadserenity-89846b5b7c0ce074103ca400cc25794d44f16492.zip
Ports: Add bzip2 port
Saw that it can be included with the freetype port, so I added it.
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/bzip2/package.sh7
2 files changed, 8 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index b7f6631d76..d8a9b88ec6 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -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/ |
diff --git a/Ports/bzip2/package.sh b/Ports/bzip2/package.sh
new file mode 100755
index 0000000000..b2cc321da6
--- /dev/null
+++ b/Ports/bzip2/package.sh
@@ -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"