aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevhtp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-19 14:15:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-19 14:31:11 +0000
commit58744e6bc853cd787c97552697f50cd887c5bac7 (patch)
tree7b38febbf5bdfd262d2882639c0ebfa376e0d834 /main/libevhtp
parentc3de3e0f943a63e68c13af61f10f34138486bed5 (diff)
downloadaports-58744e6bc853cd787c97552697f50cd887c5bac7.tar.bz2
aports-58744e6bc853cd787c97552697f50cd887c5bac7.tar.xz
main/libevhtp: upgrade to 1.2.9 and build shared
Diffstat (limited to 'main/libevhtp')
-rw-r--r--main/libevhtp/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/libevhtp/APKBUILD b/main/libevhtp/APKBUILD
index 911dbb814e..5379c13db8 100644
--- a/main/libevhtp/APKBUILD
+++ b/main/libevhtp/APKBUILD
@@ -1,15 +1,15 @@
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevhtp
-pkgver=1.1.7
+pkgver=1.2.9
pkgrel=0
pkgdesc="Flexible replacement for libevent's httpd API"
url="https://github.com/ellzey/libevhtp/"
arch="all"
license="BSD"
-makedepends="cmake libevent-dev"
+makedepends="cmake libevent-dev openssl-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/ellzey/libevhtp/archive/${pkgver}.tar.gz"
-#subpackages="$pkgname-dev"
+subpackages="$pkgname-dev"
_builddir="${srcdir}/${pkgname}-${pkgver}"
@@ -29,6 +29,8 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCUSTOM_DOCDIR="/usr/share/doc/${pkgname}" \
-DCUSTOM_SHAREDIR="/usr/share/${pkgname}" \
+ -DEVHTP_BUILD_SHARED=ON \
+
.
make || return 1
}
@@ -38,6 +40,6 @@ package() {
make DESTDIR="${pkgdir}" install || return 1
}
-md5sums="b29d5df06e09e90f2d585172d7f3d7a6 libevhtp-1.1.7.tar.gz"
-sha256sums="8bdfd87f09c898098a60c3618df29527c93b160a72ed7819769905ecddae1332 libevhtp-1.1.7.tar.gz"
-sha512sums="e5cda76877b15de97fcce85149c97c221548bc6b59fb9cf56404adbfd748aaf4cfeeba12e5facfbecfd46252924a37e0098d0f533912effdd03def56fd5d3aa6 libevhtp-1.1.7.tar.gz"
+md5sums="428a8d179fcc0cadedd914ed6456e08f libevhtp-1.2.9.tar.gz"
+sha256sums="6a45125dab5211be5e0b6098b6d100f4aebe84dc6b80a9ce7211885fb3c4a97c libevhtp-1.2.9.tar.gz"
+sha512sums="fe9254c5302631a06d509eeb1614f0a28e84a0bf2149f9881f9c6b6ddcc57dbd57b5d3a80d20d8a0fd5499c7efeca68d7f13ab67daf6a6175f0424f39a5f6b83 libevhtp-1.2.9.tar.gz"