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


                                                   


                                           
                         
          
                       
                   
                          
                                                                                       



                      

         





                                         




                                         
                  


           
                                      

 
                                                                                                                                                                
# Contributor: Jeff Bilyk <jbilyk at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=re2c
pkgver=2.1.1
pkgrel=0
pkgdesc="Lexer generator for C, C++ and Go"
url="http://www.re2c.org"
arch="all"
license="Public-Domain"
checkdepends="bash"
subpackages="$pkgname-doc"
source="https://github.com/skvadrik/re2c/releases/download/$pkgver/re2c-$pkgver.tar.xz"

# secfixes:
#   1.3-r1:
#     - CVE-2020-11958

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

check() {
	make tests
}

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

sha512sums="13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae  re2c-2.1.1.tar.xz"