diff options
Diffstat (limited to 'repos/community/byacc/abuild')
| -rw-r--r-- | repos/community/byacc/abuild | 16 |
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 +} |