summaryrefslogtreecommitdiff
path: root/repo/re2c/re2c.xibuild
blob: ee87148b69b3605bc3295549f668d581e14695a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="re2c"
DESC="Lexer generator for C, C++ and Go"

MAKEDEPS=""

PKG_VER=2.1.1
SOURCE="https://github.com/skvadrik/re2c/releases/download/$PKG_VER/re2c-$PKG_VER.tar.xz"

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

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