aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-23 07:17:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-23 07:17:28 +0000
commitafa937d94963fbe6806b2d83bc81f931d6303421 (patch)
treefa33c45c647bdbadabbebc0884db0bdf35172b7c /testing
parenta596b14a9befdc877fe3639a6e69580cd289b503 (diff)
downloadaports-afa937d94963fbe6806b2d83bc81f931d6303421.tar.bz2
aports-afa937d94963fbe6806b2d83bc81f931d6303421.tar.xz
testing/oniguruma: upgrade to 6.0.0, updated upstream url, fixed build
Diffstat (limited to 'testing')
-rw-r--r--testing/oniguruma/APKBUILD32
1 files changed, 11 insertions, 21 deletions
diff --git a/testing/oniguruma/APKBUILD b/testing/oniguruma/APKBUILD
index 4ecdb03d1c..e6761d942e 100644
--- a/testing/oniguruma/APKBUILD
+++ b/testing/oniguruma/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=oniguruma
-pkgver=5.9.6
+pkgver=6.0.0
pkgrel=0
pkgdesc="a regular expressions library"
url="http://www.geocities.jp/kosako3/oniguruma/"
@@ -9,25 +9,15 @@ arch="all"
license="BSD"
depends=""
depends_dev=""
-makedepends="$depends_dev"
+makedepends="$depends_dev automake autoconf libtool"
install=""
subpackages="$pkgname-dev"
-source="http://www.geocities.jp/kosako3/oniguruma/archive/onig-$pkgver.tar.gz"
-
-_builddir="$srcdir"/onig-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- update_config_sub || return 1
-}
+source="$pkgname-$pkgver.tar.gz::https://github.com/kkos/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
+ autoreconf -vfi
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,10 +31,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="d08f10ea5c94919780e6b7bed1ef9830 onig-5.9.6.tar.gz"
-sha256sums="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7 onig-5.9.6.tar.gz"
-sha512sums="4a181ea6f0e1a018bbaf6c87e666dfffd1ef4b8f5dcead07fa0b6564a76174e7e01854173924668433ae74c455dbced6a0e1b43e9066f0499b4a57e855e1a2b2 onig-5.9.6.tar.gz"
+md5sums="dc69fd4204551b64e78878a67a35a994 oniguruma-6.0.0.tar.gz"
+sha256sums="3018fe512fbf90e583bc43754be59c92685f02cb4eaab299472da0d0759b5cda oniguruma-6.0.0.tar.gz"
+sha512sums="b0b32bf4fbe1846fe96a30795737294449a2d9e6bd4ac4a07c911e09c6bc51f0b534d005c43c19bebd0bc065d8819bf89bbf0805a42a5cef38d0c514f588c69a oniguruma-6.0.0.tar.gz"