-rwxr-xr-x root/root usr/bin/yacc
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/liby.a
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/bison.1.gz
--rw-r--r-- root/root usr/man/man1/yacc.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/bison-i18n.m4
# Depends on
name=bison
-version=2.6.2
+version=2.7
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
cd $name-$version
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr\
+ --prefix=/usr \
+ --mandir=/usr/man \
--disable-nls
sed '/^SUBDIRS =/ s/doc//' -i Makefile.in
make
make DESTDIR=$PKG install
-
- install -d $PKG/usr/man/man1
- install -m 0644 doc/*.1 $PKG/usr/man/man1
-
rm -rf $PKG/usr/share/info
rm $PKG/usr/share/bison/README
}