From 044fab22caac283bad5c7f274adf194fffe297aa Mon Sep 17 00:00:00 2001 From: lost Date: Fri, 29 May 2026 22:18:23 -0400 Subject: added byacc (berkeley implementation of yacc) --- repos/community/byacc/.checksum | 1 + repos/community/byacc/.files | 9 +++++++++ repos/community/byacc/abuild | 16 ++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 repos/community/byacc/.checksum create mode 100644 repos/community/byacc/.files create mode 100644 repos/community/byacc/abuild diff --git a/repos/community/byacc/.checksum b/repos/community/byacc/.checksum new file mode 100644 index 00000000..0615998d --- /dev/null +++ b/repos/community/byacc/.checksum @@ -0,0 +1 @@ +1f548f43861c383a5caaf5ec56332af8b3d45cdd2d3dd70b7585c65ae3a661ef byacc-20240109.tgz diff --git a/repos/community/byacc/.files b/repos/community/byacc/.files new file mode 100644 index 00000000..9c90927b --- /dev/null +++ b/repos/community/byacc/.files @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +lrwxrwxrwx root/root usr/bin/bison -> /usr/bin/yacc +lrwxrwxrwx root/root usr/bin/byacc -> /usr/bin/yacc +-rwxr-xr-x root/root usr/bin/yacc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/yacc.1.gz diff --git a/repos/community/byacc/abuild b/repos/community/byacc/abuild new file mode 100644 index 00000000..7cc4f68e --- /dev/null +++ b/repos/community/byacc/abuild @@ -0,0 +1,16 @@ +name=byacc +version=20240109 +release=1 +source="https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz" + +build () { + ./configure --prefix=/usr + make + make install DESTDIR=$PKG + + # the section below is a really bad way to link bison&byacc to yacc + cp yacc /usr/bin + ln -s /usr/bin/yacc $PKG/usr/bin/byacc + ln -s /usr/bin/yacc $PKG/usr/bin/biso + rm /usr/bin/yacc +} -- cgit v1.2.3