CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bindutils: updated to 9.9.7-P1 and updated mandir
[crossrootfs.git] / bison / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: The GNU Project parser generator
2# URL: http://www.gnu.org/software/bison/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
2084696f 5# Depends on
6dca1d21
JB
6
7name=bison
fc5a1067 8version=2.7
4ec6ab57 9release=1
55934325 10source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
6dca1d21
JB
11
12build() {
48c8070a
JB
13 cd $name-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
fc5a1067
VM
16 --prefix=/usr \
17 --mandir=/usr/man \
48c8070a
JB
18 --disable-nls
19
20 sed '/^SUBDIRS =/ s/doc//' -i Makefile.in
21
22 make
23 make DESTDIR=$PKG install
48c8070a
JB
24 rm -rf $PKG/usr/share/info
25 rm $PKG/usr/share/bison/README
6dca1d21 26}