aboutsummaryrefslogtreecommitdiff
path: root/core/byacc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-03 11:54:13 +0300
committerCem Keylan <cem@ckyln.com>2020-06-03 11:54:13 +0300
commitff6f02711348f7fd0ff8750671ed17db6ed48d1a (patch)
tree45700ba094866f68d5efef640a1dc9a7c2bf22ae /core/byacc/build
parentb0d1882f59d0dbeeb8993f7c4c4044af94673fbe (diff)
downloadrepository-ff6f02711348f7fd0ff8750671ed17db6ed48d1a.tar.gz
byacc: add new package at 20200330
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"