Commit | Line | Data |
---|---|---|
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 | |
7 | name=bison | |
55934325 | 8 | version=2.6.2 |
4ec6ab57 | 9 | release=1 |
55934325 | 10 | source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
48c8070a JB |
13 | cd $name-$version |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr\ | |
17 | --disable-nls | |
18 | ||
19 | sed '/^SUBDIRS =/ s/doc//' -i Makefile.in | |
20 | ||
21 | make | |
22 | make DESTDIR=$PKG install | |
23 | ||
24 | install -d $PKG/usr/man/man1 | |
25 | install -m 0644 doc/*.1 $PKG/usr/man/man1 | |
26 | ||
27 | rm -rf $PKG/usr/share/info | |
28 | rm $PKG/usr/share/bison/README | |
6dca1d21 | 29 | } |