summaryrefslogblamecommitdiff
path: root/system/byacc/APKBUILD
blob: ff756eb4a77345e242873d42eb4fc7998d8858ec (plain) (tree)
1
2
3
4
5
6
7

                                                        

               
        
                                                            
                                                   





























                                                                                                                                                                 
# Contributor: Nathan Angelacos <nangel@alpinelinux.org>
# Maintainer: 
pkgname=byacc
pkgver=20180609
pkgrel=2
pkgdesc="The Berkeley Yacc general-purpose parser generator"
url="https://invisible-island.net/byacc/byacc.html"
arch="all"
options="!checkroot"
license="Public-Domain"
depends="!bison"
subpackages="$pkgname-doc"
source="https://invisible-mirror.net/archives/byacc/byacc-$pkgver.tgz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="45aa6de839ca23385ab832685fdaa49225dcde6a40bdb990eefde8ab1be2cfe063875072e844629ac91e9533e6e310fa0bb8a6bd01e246a1cefc67bbc3c175f9  byacc-20180609.tgz"