aboutsummaryrefslogtreecommitdiffstats
path: root/main/oniguruma/APKBUILD
blob: e223ed8c7bf79fc8b654c3cb9eb5bab509afd6fb (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
34
35
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=oniguruma
pkgver=6.1.3
pkgrel=0
pkgdesc="a regular expressions library"
url="http://www.geocities.jp/kosako3/oniguruma/"
arch="all"
license="BSD"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/kkos/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	autoreconf -vfi
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="212ddd2be5a2455c206f8d72420f2c58  oniguruma-6.1.3.tar.gz"
sha256sums="27fec91c6ba8333c1cd508a4b26ed29c232415724c68a9268207b6c7a5e8c20b  oniguruma-6.1.3.tar.gz"
sha512sums="90a2c6840ab58c724da74cbdcce542a0ba9a098d82560a7d57ef844e5e7bc706e583b1ea90c7ac0d47dc98b5a22c53762208449556560ef2883476b703189efd  oniguruma-6.1.3.tar.gz"