[source] nghttp2: switch to release tarball

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 1 14:08:26 PDT 2017


dedeckeh pushed a commit to source.git, branch master:
https://git.lede-project.org/f90f94d2c183dde6c214bc5068c33085d5f53290

commit f90f94d2c183dde6c214bc5068c33085d5f53290
Author: Hans Dedecker <dedeckeh at gmail.com>
AuthorDate: Tue Oct 31 18:25:14 2017 +0100

    nghttp2: switch to release tarball
    
    Switch from git to xz release tarball as there's no good reason to keep
    using git when release tarballs are provided.
    
    Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 package/libs/nghttp2/Makefile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/package/libs/nghttp2/Makefile b/package/libs/nghttp2/Makefile
index 4bc06d3..c09890a 100644
--- a/package/libs/nghttp2/Makefile
+++ b/package/libs/nghttp2/Makefile
@@ -3,13 +3,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=nghttp2
 PKG_VERSION:=1.27.0
 PKG_RELEASE:=1
-PKG_SOURCE_URL:=https://github.com/nghttp2/nghttp2.git
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=e8907a073f451df11952664518b9abcc3c57e65e
-PKG_SOURCE_DIR:=$(PKG_NAME)
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MIRROR_HASH:=94ece79959ca2ca2936f4e67868704c44cc377bded2e9aa25d7517ab1c7d7cbc
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+
+PKG_SOURCE_URL:=https://github.com/nghttp2/nghttp2/releases/download/v$(PKG_VERSION)
+PKG_HASH:=e83819560952a3dc3c8d96c46f60745408f46f5f384168c90b9e3dfa53b2c2c8
+
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYING
 CMAKE_INSTALL:=1



More information about the lede-commits mailing list