aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-09 00:58:56 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-09 00:58:56 +0200
commitb0d02bc7978afeebd9c01e494a16a62d231dde1f (patch)
tree69741da8df378a58db10676eb9208d086102d939 /testing
parent536cedc4fa1d7118f43603a7cc34e06c0269bb74 (diff)
downloadaports-b0d02bc7978afeebd9c01e494a16a62d231dde1f.tar.bz2
aports-b0d02bc7978afeebd9c01e494a16a62d231dde1f.tar.xz
testing/oniguruma: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/oniguruma/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/oniguruma/APKBUILD b/testing/oniguruma/APKBUILD
new file mode 100644
index 0000000000..424d4e3329
--- /dev/null
+++ b/testing/oniguruma/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=oniguruma
+pkgver=5.9.6
+pkgrel=0
+pkgdesc="a regular expressions library"
+url="http://www.geocities.jp/kosako3/oniguruma/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+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
+}
+
+build() {
+ cd "$_builddir"
+ ./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
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="d08f10ea5c94919780e6b7bed1ef9830 onig-5.9.6.tar.gz"
+sha256sums="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7 onig-5.9.6.tar.gz"
+sha512sums="4a181ea6f0e1a018bbaf6c87e666dfffd1ef4b8f5dcead07fa0b6564a76174e7e01854173924668433ae74c455dbced6a0e1b43e9066f0499b4a57e855e1a2b2 onig-5.9.6.tar.gz"