blob: 80fb783f9c297aaaa88ea26b3caa06d1daf88683 (
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
34
35
36
37
|
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20150711
pkgrel=1
pkgdesc="The Berkeley Yacc general-purpose parser generator"
url="http://invisible-island.net/byacc/byacc.html"
arch="all"
license="Public Domain"
depends="!bison"
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="ftp://invisible-island.net/$pkgname/$pkgname-${pkgver}.tgz"
_builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="2700401030583c4e9169ac7ea7d08de8 byacc-20150711.tgz"
sha256sums="c354e4ee14c4a1bf11e55dde9275011d14887ef066406a088b6fa56caf039248 byacc-20150711.tgz"
sha512sums="348558046acca31a39e8df480ae4c46ad03a1b073a51877a8981914bce65e8922e83e14c45eecd0e122c9d3d018cd4b6ab8c7f29b8dbfa13d648f2f86104a4e9 byacc-20150711.tgz"
|