From 991e0ca1085b78300fa3814a4b03467ae4cc331c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 1 Nov 2018 11:03:41 +0000 Subject: community/libevhtp: upgrade to 1.2.16, modernize --- community/libevhtp/APKBUILD | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'community/libevhtp/APKBUILD') diff --git a/community/libevhtp/APKBUILD b/community/libevhtp/APKBUILD index ba3d9d85b2..4d3b0deebb 100644 --- a/community/libevhtp/APKBUILD +++ b/community/libevhtp/APKBUILD @@ -1,28 +1,18 @@ # Contributor: # Maintainer: Natanael Copa pkgname=libevhtp -pkgver=1.2.12 -pkgrel=2 +pkgver=1.2.16 +pkgrel=0 pkgdesc="Flexible replacement for libevent's httpd API" -url="https://github.com/ellzey/libevhtp/" +url="https://github.com/criticalstack/libevhtp/" arch="all" license="BSD" -makedepends="cmake libevent-dev libressl-dev" +makedepends="cmake libevent-dev openssl-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/criticalstack/libevhtp/archive/$pkgver.tar.gz" subpackages="$pkgname-dev" builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local pf - cd "${builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - build() { cd "${builddir}" cmake -DCUSTOM_BINDIR=/usr/bin \ @@ -30,12 +20,12 @@ build() { -DCUSTOM_DOCDIR="/usr/share/doc/${pkgname}" \ -DCUSTOM_SHAREDIR="/usr/share/${pkgname}" \ -DEVHTP_BUILD_SHARED=ON . - make || return 1 + make } package() { cd "${builddir}" - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="${pkgdir}" install } -sha512sums="b720d7c79db445420e83634a8d4c39ffd4c2c23e5fdef144c427455630913eee2bb23d3ee7aded079f634f8409d36eee9b642bebc852614ad5f9defb402f705d libevhtp-1.2.12.tar.gz" +sha512sums="0beb16a4ffc43fbc6364e456010b581fb55a79f7790ba698a754acb1bb39fb6256e77a3f9ccefe30f6bacd9201d674e31a3c6734fd98d082b35f3105521aff46 libevhtp-1.2.16.tar.gz" -- cgit v1.2.3