From 2d1cfa7d1142bace04a13d57db6e3f16c79f1e39 Mon Sep 17 00:00:00 2001 From: jonno85uk Date: Wed, 17 Feb 2021 21:54:37 +0000 Subject: [PATCH] Ports: Add bison 1.25 (#5382) bison -h works. Not tried with any grammar files --- Ports/AvailablePorts.md | 1 + Ports/bison/package.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 Ports/bison/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 9cc3f768f1d3c7..4708c845e21680 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -7,6 +7,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`bash`](bash/) | GNU Bash | 5.0 | https://www.gnu.org/software/bash/ | | [`bc`](bc/) | bc | 2.5.1 | https://github.com/gavinhoward/bc | | [`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 | | [`c-ray`](c-ray/) | C-Ray | | https://github.com/vkoskiv/c-ray | | [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ | diff --git a/Ports/bison/package.sh b/Ports/bison/package.sh new file mode 100755 index 00000000000000..34fab542c5675f --- /dev/null +++ b/Ports/bison/package.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=bison +version=1.25 +useconfigure=true +configopts="--prefix=$SERENITY_ROOT/Build/Root/usr/local" +files="https://ftp.gnu.org/gnu/bison/bison-${version}.tar.gz bison-${version}.tar.gz 65f577d0f8ffaf61ae21c23c0918d225" +auth_type="md5"