From 91ed29d7dda0c5764bfc991985bf98adab0890f0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:27:41 +0000 Subject: added PKG_VER to xibuilds --- repo/system/libnghttp.xibuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'repo/system/libnghttp.xibuild') 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 } -- cgit v1.2.1