summaryrefslogtreecommitdiffstats
path: root/core/bison/APKBUILD
blob: 9c9e3950d1d8cd08f5358de89c2336a4b39e0a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bison
pkgver=2.3
pkgrel=4
pkgdesc="The GNU general-purpose parser generator"
license='GPL'
url="http://www.gnu.org/software/bison/bison.html"
depends='uclibc m4'
source="ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
splitfuncs="doc"

build() {
	cd ${startdir}/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --datadir=/usr/share
	make || return 1
	make DESTDIR=${startdir}/pkg install
}

md5sums='22327efdd5080e2b1acb6e560a04b43a  bison-2.3.tar.gz'