blob: fc3cc4a989ed8f4daf1e17505bef267549253886 (
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
27
28
29
30
31
32
33
|
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20140715
pkgrel=0
pkgdesc="The Berkeley Yacc general-purpose parser generator"
arch="all"
license="Public Domain"
url="http://invisible-island.net/byacc/byacc.html"
source="ftp://invisible-island.net/byacc/byacc-${pkgver}.tgz"
subpackages="$pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--datadir=/usr/share \
--infodir=/usr/share/info \
--mandir=/usr/share/man
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="814d2ebedd738a526e5aeb00b1ad38af byacc-20140715.tgz"
sha256sums="ecd0d87bf7e62b5536fb096ada96ecd564c6411866bbe6644e30ee7963e97fe5 byacc-20140715.tgz"
sha512sums="2f4e46565f10af41ca84785e2794c70d9f5788318eddc3a8be6c4c0d9ca99ad0d2028fdd3bc1d021aaa980eac74f9ac5a73e28fffae53f9b9abd9aea7b57dc79 byacc-20140715.tgz"
|