[arch-commits] Commit in (nghttp2 nghttp2/repos nghttp2/trunk nghttp2/trunk/PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Thu Oct 15 21:04:40 UTC 2015
Date: Thursday, October 15, 2015 @ 23:04:39
Author: anatolik
Revision: 249401
Add nghttp2 needed for Apache new mod_http2
Added:
nghttp2/
nghttp2/repos/
nghttp2/trunk/
nghttp2/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: nghttp2/trunk/PKGBUILD
===================================================================
--- nghttp2/trunk/PKGBUILD (rev 0)
+++ nghttp2/trunk/PKGBUILD 2015-10-15 21:04:39 UTC (rev 249401)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Zhuoyun Wei <wzyboy at wzyboy.org>
+
+pkgname=nghttp2
+pkgver=1.3.4
+pkgrel=3
+pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
+arch=(i686 x86_64)
+url='https://nghttp2.org/'
+license=(MIT)
+depends=(openssl libev zlib libxml2 jansson jemalloc)
+source=(nghttp2-$pkgver.zip::https://github.com/tatsuhiro-t/nghttp2/archive/v$pkgver.zip)
+backup=(
+ etc/nghttpx/nghttpx.conf
+ etc/logrotate.d/nghttpx
+)
+sha256sums=('6e47e5dec180d341d228792c64a6364c83437baacf5e24aa1ac255d18783240e')
+
+build() {
+ cd nghttp2-$pkgver
+
+ autoreconf -i
+ ./configure \
+ --prefix=/usr \
+ --with-spdylay=no \
+ --disable-examples \
+ --disable-python-bindings
+ make
+}
+
+package() {
+ cd nghttp2-$pkgver
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 contrib/nghttpx.service "$pkgdir/usr/lib/systemd/system/nghttpx.service"
+ install -Dm644 contrib/nghttpx-logrotate "$pkgdir/etc/logrotate.d/nghttpx"
+ install -Dm644 nghttpx.conf.sample "$pkgdir/etc/nghttpx/nghttpx.conf"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/nghttp2/COPYING"
+}
Property changes on: nghttp2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list