From 97f862a76bd2e86ee0ba43373863181a8580efa5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 01 Jul 2019 19:43:20 -0400 Subject: Add binary packages and remove some doc files --- diff --git a/bison-doc.pkg/control b/bison-doc.pkg/control new file mode 100644 index 0000000..c706db4 --- /dev/null +++ b/bison-doc.pkg/control @@ -0,0 +1,7 @@ +Architecture: all +Platform: all +Depends: bison (>= ${Source-Version}) +Description: YACC-compatible parser generator - documentation + ${Common-Description} + . + This package provides documentation for the GNU parser generator. diff --git a/bison-doc.pkg/files b/bison-doc.pkg/files new file mode 100644 index 0000000..504f69d --- /dev/null +++ b/bison-doc.pkg/files @@ -0,0 +1,3 @@ +/usr/share/doc/bison/examples/ +/usr/share/info/ +/usr/share/man/ diff --git a/bison-locales.pkg/control b/bison-locales.pkg/control new file mode 100644 index 0000000..3cc6974 --- /dev/null +++ b/bison-locales.pkg/control @@ -0,0 +1,7 @@ +Architecture: all +Platform: all +Depends: bison (>= ${Source-Version}) +Description: YACC-compatible parser generator - locales + ${Common-Description} + . + This package provides locale files for the GNU parser generator. diff --git a/bison-locales.pkg/files b/bison-locales.pkg/files new file mode 100644 index 0000000..90d0bfc --- /dev/null +++ b/bison-locales.pkg/files @@ -0,0 +1 @@ +/usr/share/locale/ diff --git a/bison.pkg/control b/bison.pkg/control new file mode 100644 index 0000000..9d23ab4 --- /dev/null +++ b/bison.pkg/control @@ -0,0 +1,5 @@ +Architecture: any +Platform: all +Depends: m4, ${Shlib-Depends} +Description: YACC-compatible parser generator + ${Common-Description} diff --git a/bison.pkg/docs b/bison.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bison.pkg/docs diff --git a/bison.pkg/files b/bison.pkg/files new file mode 100644 index 0000000..1c40a0b --- /dev/null +++ b/bison.pkg/files @@ -0,0 +1,4 @@ +/usr/bin/bison +/usr/bin/yacc +/usr/share/aclocal/ +/usr/share/bison/ diff --git a/build b/build index 0ec22d9..62b6bc1 100755 --- a/build +++ b/build @@ -12,6 +12,9 @@ build: install: build oh-autoinstall + set -e; for f in AUTHORS COPYING NEWS README THANKS TODO; do \ + rm -fv "dest/usr/share/doc/bison/$${f}"; \ + done oh-fixperms oh-strip oh-installfiles diff --git a/libbison-dev.pkg/control b/libbison-dev.pkg/control new file mode 100644 index 0000000..ead0173 --- /dev/null +++ b/libbison-dev.pkg/control @@ -0,0 +1,8 @@ +Architecture: any +Platform: all +Depends: bison (= ${Binary-Version}) +Description: YACC-compatible parser generator - development library + ${Common-Description} + . + This package provides the Yacc compatibility library, which includes main() and + yyerror() functions. diff --git a/libbison-dev.pkg/files b/libbison-dev.pkg/files new file mode 100644 index 0000000..2c5566c --- /dev/null +++ b/libbison-dev.pkg/files @@ -0,0 +1 @@ +/usr/lib/*/liby.a diff --git a/substvars b/substvars new file mode 100644 index 0000000..f5a876c --- /dev/null +++ b/substvars @@ -0,0 +1,13 @@ +Common-Description: + Bison is a general-purpose parser generator that converts an annotated + context-free grammar into a deterministic LR or generalized LR (GLR) parser + employing LALR(1) parser tables. As an experimental feature, Bison can also + generate IELR(1) or canonical LR(1) parser tables. Once you are proficient + with Bison, you can use it to develop a wide range of language parsers, from + those used in simple desk calculators to complex programming languages. + . + Bison is upward compatible with Yacc: all properly-written Yacc grammars ought + to work with Bison with no change. Anyone familiar with Yacc should be able to + use Bison with little trouble. You need to be fluent in C or C++ programming + in order to use Bison or to understand this manual. Java is also supported as + an experimental feature. -- cgit v0.9.1