-rw-r--r-- root/root usr/share/bison/m4sugar/foreach.m4
-rw-r--r-- root/root usr/share/bison/m4sugar/m4sugar.m4
-rw-r--r-- root/root usr/share/bison/stack.hh
+-rw-r--r-- root/root usr/share/bison/variant.hh
drwxr-xr-x root/root usr/share/bison/xslt/
-rw-r--r-- root/root usr/share/bison/xslt/bison.xsl
-rw-r--r-- root/root usr/share/bison/xslt/xml2dot.xsl
-rw-r--r-- root/root usr/share/bison/xslt/xml2text.xsl
-rw-r--r-- root/root usr/share/bison/xslt/xml2xhtml.xsl
-rw-r--r-- root/root usr/share/bison/yacc.c
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bison.1.gz
+-rw-r--r-- root/root usr/share/man/man1/yacc.1.gz
# Depends on
name=bison
-version=2.7
-release=1
+version=3.0.4
+release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls
sed '/^SUBDIRS =/ s/doc//' -i Makefile.in
make
make DESTDIR=$PKG install
- rm -rf $PKG/usr/share/info
+ rm -rf $PKG/usr/share/{info,doc}
rm $PKG/usr/share/bison/README
}