summaryrefslogtreecommitdiffstats
path: root/bison/Pkgfile
blob: 22cf53654c0bd3b11332cea2f3c28059d5a9f97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
description="The GNU Project parser generator."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/bison/"
depends=()

name=bison
version=2.4.3
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir \
		$(use_enable nls);
	make;
	make DESTDIR=$PKG install;
	#if ! use info; then
	#rm -r $PKG/usr/share/info;
	#fi
	rm $PKG/usr/share/bison/README
}