aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}