aboutsummaryrefslogtreecommitdiffstats
path: root/community/h2o/APKBUILD
diff options
context:
space:
mode:
authorBennett Goble <nivardus@gmail.com>2017-11-18 12:48:13 -0800
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-11-27 15:22:14 +0000
commitf75088679bfdacf239349862333eebf69d8992dd (patch)
tree8973c8ceced74ee463d77d889065289cb894495c /community/h2o/APKBUILD
parent76ad2836c001cd029db7dec0db006108b1456f6f (diff)
downloadaports-f75088679bfdacf239349862333eebf69d8992dd.tar.bz2
aports-f75088679bfdacf239349862333eebf69d8992dd.tar.xz
community/h2o: enable mruby
Diffstat (limited to 'community/h2o/APKBUILD')
-rw-r--r--community/h2o/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/h2o/APKBUILD b/community/h2o/APKBUILD
index 5f9292000d..e27330a078 100644
--- a/community/h2o/APKBUILD
+++ b/community/h2o/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Bennett Goble <nivardus@gmail.com>
pkgname=h2o
pkgver=2.2.3
-pkgrel=1
+pkgrel=2
pkgdesc="An optimized HTTP/1, HTTP/2 server written in C"
url="https://h2o.examp1e.net"
arch="all"
license="MIT"
depends="perl"
-makedepends="cmake zlib-dev wslay-dev libressl-dev libuv-dev yaml-dev"
+makedepends="cmake ruby ruby-dev bison zlib-dev wslay-dev libressl-dev libuv-dev yaml-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
@@ -19,7 +19,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- cmake -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=/usr . || return 1
+ cmake \
+ -DBUILD_SHARED_LIBS=on \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_MRUBY=on \
+ . || return 1
}
build() {