aboutsummaryrefslogblamecommitdiffstats
path: root/main/oniguruma/APKBUILD
blob: 3380d73291b86c0f41179373a148542a713a9315 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                     
                                                          
                 
            






                                                
                                                    

                          

                                                                                          

         

                       












                                           
                      
                                                  

 


                                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=oniguruma
pkgver=6.1.1
pkgrel=0
pkgdesc="a regular expressions library"
url="http://www.geocities.jp/kosako3/oniguruma/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev automake autoconf libtool"
install=""
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="166342ebeee725675370fdb260f4e7d7  oniguruma-6.1.1.tar.gz"
sha256sums="a6b16d57f027f9804a4aebe38222ae796e7104a9c51afbbc4a15182f8604e720  oniguruma-6.1.1.tar.gz"
sha512sums="c4332102ec16b62ced61ceca1789ffd312e360510553373f1780f7c32a70b50c92af325fb92cc87dff7eacb09ba41c4197937908576a6725679b098efe6ff78d  oniguruma-6.1.1.tar.gz"