aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlost <lost@privacyrequired.com>2026-05-29 22:18:23 -0400
committerlost <lost@privacyrequired.com>2026-05-29 22:18:23 -0400
commit044fab22caac283bad5c7f274adf194fffe297aa (patch)
tree4278c787c199869f1b9c8f9b3902ec68d2f793dd
parent21a208a3423f2e0bf0544489c422c5f272463612 (diff)
downloadalicelinux-044fab22caac283bad5c7f274adf194fffe297aa.tar.gz
alicelinux-044fab22caac283bad5c7f274adf194fffe297aa.zip
added byacc (berkeley implementation of yacc)
-rw-r--r--repos/community/byacc/.checksum1
-rw-r--r--repos/community/byacc/.files9
-rw-r--r--repos/community/byacc/abuild16
3 files changed, 26 insertions, 0 deletions
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
+}