aboutsummaryrefslogtreecommitdiff
path: root/repos/community/byacc/abuild
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 /repos/community/byacc/abuild
parent21a208a3423f2e0bf0544489c422c5f272463612 (diff)
downloadalicelinux-044fab22caac283bad5c7f274adf194fffe297aa.tar.gz
alicelinux-044fab22caac283bad5c7f274adf194fffe297aa.zip
added byacc (berkeley implementation of yacc)
Diffstat (limited to 'repos/community/byacc/abuild')
-rw-r--r--repos/community/byacc/abuild16
1 files changed, 16 insertions, 0 deletions
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
+}