Browse Source

Ports: Add bison 1.25 (#5382)

bison -h works. Not tried with any grammar files
jonno85uk 4 years ago
parent
commit
2d1cfa7d11
2 changed files with 8 additions and 0 deletions
  1. 1 0
      Ports/AvailablePorts.md
  2. 7 0
      Ports/bison/package.sh

+ 1 - 0
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/                    |
 | [`bash`](bash/)                | GNU Bash                                      | 5.0               | https://www.gnu.org/software/bash/                    |
 | [`bc`](bc/)                    | bc                                            | 2.5.1             | https://github.com/gavinhoward/bc                     |
 | [`bc`](bc/)                    | bc                                            | 2.5.1             | https://github.com/gavinhoward/bc                     |
 | [`binutils`](binutils/)        | GNU Binutils                                  | 2.32              | https://www.gnu.org/software/binutils/                |
 | [`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         |
 | [`byacc`](byacc/)              | Berkeley Yacc                                 | 20191125          | https://invisible-island.net/byacc/byacc.html         |
 | [`c-ray`](c-ray/)              | C-Ray                                         |                   | https://github.com/vkoskiv/c-ray                      |
 | [`c-ray`](c-ray/)              | C-Ray                                         |                   | https://github.com/vkoskiv/c-ray                      |
 | [`cmake`](cmake/)              | CMake                                         | 3.19.4            | https://cmake.org/                                    |
 | [`cmake`](cmake/)              | CMake                                         | 3.19.4            | https://cmake.org/                                    |

+ 7 - 0
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"