IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPBIN=y STRIPLIB=y VERSION=1.875 PROGNAME="GNU bison $VERSION" DESC="\ bison (parser generator similar to yacc) \n\ \n\ GNU "Bison" is a general-purpose parser generator that converts a \n\ grammar description for an LALR(1) context-free grammar into a C \n\ program to parse that grammar. \n\ \n\ Bison is upward compatible with Yacc: all properly-written Yacc \n\ grammars ought to work with Bison with no change. Anyone familiar \n\ with Yacc should be able to use Bison with little trouble." BUILD=1 MAINTAINER="Mark Post > doinst.sh # Since bison can function in yacc mode, we'll add a shell script to # do this if you didn't install Berkeley yacc: if [ ! -r usr/bin/yacc ]; then echo '#!/bin/sh' > usr/bin/yacc echo '# emulate yacc' >> usr/bin/yacc echo 'bison -y \$*' >> usr/bin/yacc chown root.bin usr/bin/yacc chmod 755 usr/bin/yacc fi EOF sed -e 's/package-bison\///g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new cat $CWD/slack-desc > slack-desc }