summaryrefslogblamecommitdiff
path: root/user/ragel/APKBUILD
blob: 809e2ff261f7f1781dfa2aa5b1961f310db101bd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                    
              



                                                             








                                                



                  
                                      


                                                                                                                                                                
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=ragel
pkgver=6.10
pkgrel=0
pkgdesc="Finite state machine compiler"
url="http://www.complang.org/ragel/"
arch="all"
options="!check" # no tests
license="GPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://www.colm.net/files/ragel/ragel-$pkgver.tar.gz"

build() {
	export CXXFLAGS="$CXXFLAGS -std=gnu++98"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr 
	make
}

check() {
	make check
}

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

sha512sums="6c1fe4f6fa8546ae28b92ccfbae94355ff0d3cea346b9ae8ce4cf6c2bdbeb823e0ccd355332643ea72d3befd533a8b3030ddbf82be7ffa811c2c58cbb01aaa38  ragel-6.10.tar.gz"