summaryrefslogtreecommitdiff
path: root/repo/system/libnghttp.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/libnghttp.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
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
}