summaryrefslogtreecommitdiffstats
path: root/main/bison/APKBUILD
blob: c0de867eadd27b3268311d4bc9054889fbe6d02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bison
pkgver=2.4.1
pkgrel=5
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"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--datadir=/usr/share \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="c58aa1da418dc9704070872489e89bf5  bison-2.4.1.tar.gz"