summaryrefslogtreecommitdiff
path: root/repo/oniguruma/oniguruma.xibuild
blob: 9cea3d08d2d499bd8129aefe18e1fa3f09a365a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh

NAME="oniguruma"
DESC="a regular expressions library"

MAKEDEPS=" automake autoconf libtool"

PKG_VER=6.9.7.1
SOURCE="https://github.com/kkos/oniguruma/archive/v$PKG_VER.tar.gz"

prepare() {
	autoreconf -vfi
}

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

check() {
	make check
}

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