Browse Source

add small yacc wrapper

Waldemar Brodkorb 13 years ago
parent
commit
c54a9b176d
2 changed files with 4 additions and 1 deletions
  1. 2 1
      package/bison/Makefile
  2. 2 0
      package/bison/files/yacc

+ 2 - 1
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

+ 2 - 0
package/bison/files/yacc

@@ -0,0 +1,2 @@
+#!/bin/sh
+bison -y "$@"