summaryrefslogtreecommitdiff
path: root/repo/system/libnghttp.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libnghttp.xibuild')
-rw-r--r--repo/system/libnghttp.xibuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/system/libnghttp.xibuild b/repo/system/libnghttp.xibuild
index b90f3ed..65b9af0 100644
--- a/repo/system/libnghttp.xibuild
+++ b/repo/system/libnghttp.xibuild
@@ -2,7 +2,9 @@
DEPS=(glibc)
-SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.xz
+PKG_VER=1.46.0
+
+SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v$PKG_VER/nghttp2-$PKG_VER.tar.xz
DESC="Framing layer of HTTP implemented as a C library"
@@ -10,7 +12,7 @@ build () {
./configure --prefix=/usr \
--disable-static \
--enable-lib-only \
- --docdir=/usr/share/doc/nghttp2-1.46.0 &&
+ --docdir=/usr/share/doc/nghttp2-$PKG_VER &&
make
make DESTDIR=$PKG_DEST install
}