aboutsummaryrefslogtreecommitdiff
path: root/core/byacc/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/byacc/build')
-rwxr-xr-xcore/byacc/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/byacc/build b/core/byacc/build
new file mode 100755
index 00000000..534df9cd
--- /dev/null
+++ b/core/byacc/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --program-transform='s/^/b/'
+
+make
+make DESTDIR="$1" install
+
+ln -s byacc "$1/usr/bin/yacc"