aboutsummaryrefslogblamecommitdiffstats
path: root/main/byacc/APKBUILD
blob: 6f37c2916521df232a4ab4562c0ed7284f898a5f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                       
               
        
                                                            
                                                   
          
                       
                
                          
                                                                      
 
         





                                         

                                    

 
         


                  
           


                                      
                                                                                                                                                                 
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20210328
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="fdcf98976524c1f37710cf9551a357ebc24ece94dd2bd10501d4fafb914a7ab4847926b99647e387f22a3d3206e6a4bfc14a4c41115702382fcc1d6f688f9dae  byacc-20210328.tgz"