summaryrefslogblamecommitdiff
path: root/user/re2c/APKBUILD
blob: 525604c4f47dac0524c2999ccc8581fd5839a488 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                           
          






                                            
                                                                                           

         










                                         



                  


                                      
                                                                                                                                                              
# Contributor: Jeff Bilyk <jbilyk at gmail>
# Maintainer: 
pkgname=re2c
pkgver=1.2
pkgrel=0
pkgdesc="Fast lexer generator for C and C++"
url="http://re2c.org/"
arch="all"
license="Public-Domain"
checkdepends="bash"
subpackages="$pkgname-doc"
source="https://github.com/skvadrik/re2c/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"

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="d029abc3493a26761eaa911cf73961f5b8ec2e00958c97740e73f568fc72b02b5f56d80e09657a95dcf2e7767f3e5085775bb78f0f5bc472d506682a3a7fc278  re2c-1.2.tar.xz"