summaryrefslogtreecommitdiff
path: root/package/bison
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-16 19:26:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-16 19:26:04 +0200
commitc54a9b176d36b768948322d26c7c4ec3f103e2fa (patch)
treec4e66f56faee83357eece00419ec95c8cc7ecdcf /package/bison
parent3e2a35ff753caf8588684daa864e75ed55a9d193 (diff)
add small yacc wrapper
Diffstat (limited to 'package/bison')
-rw-r--r--package/bison/Makefile3
-rwxr-xr-xpackage/bison/files/yacc2
2 files changed, 4 insertions, 1 deletions
diff --git a/package/bison/Makefile b/package/bison/Makefile
index fd31a0fe7..f468e1576 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= bison
PKG_VERSION:= 2.4.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= ea45c778b36bdc7a720096819e292a73
PKG_DESCR:= GNU parser generator
PKG_SECTION:= lang
@@ -20,5 +20,6 @@ post-install:
${INSTALL_DIR} ${IDIR_BISON}/usr/bin ${IDIR_BISON}/usr/share/bison
${INSTALL_BIN} ${WRKINST}/usr/bin/bison ${IDIR_BISON}/usr/bin
${CP} ${WRKINST}/usr/share/bison/* ${IDIR_BISON}/usr/share/bison
+ $(CP) ./files/yacc ${IDIR_BISON}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bison/files/yacc b/package/bison/files/yacc
new file mode 100755
index 000000000..8681b8f54
--- /dev/null
+++ b/package/bison/files/yacc
@@ -0,0 +1,2 @@
+#!/bin/sh
+bison -y "$@"