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

                                                        
             
               
        
                                                            
                                                   
          





                                                                      










                                         



                  


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

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

check() {
	make check
}

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

sha512sums="df8cc1aa550d633ab547a13a4f091d8c940a9a67b52dc5ecacad5b005fd54c3ceb1269593068c1a7949049e85b6e6eea20cffbbf4b408e049fde75c0ffe51f07  byacc-20200330.tgz"