From db07f86c35f5a1ee6a441262119d0443ac40ee9b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 13 Apr 2024 14:33:22 -0700 Subject: [PATCH] xxhash: switch to local git tarballs Smaller and avoids having to use PKG_UNPACK. Signed-off-by: Rosen Penev --- utils/xxhash/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/utils/xxhash/Makefile b/utils/xxhash/Makefile index 4b5598f413..510193338a 100644 --- a/utils/xxhash/Makefile +++ b/utils/xxhash/Makefile @@ -12,11 +12,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xxhash PKG_VERSION:=0.8.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 -PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/Cyan4973/xxHash/archive/v$(PKG_VERSION) -PKG_HASH:=baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=v$(PKG_VERSION) +PKG_SOURCE_URL:=https://github.com/Cyan4973/xxHash +PKG_MIRROR_HASH:=0602a12e9ecd009f97a2a845fb5e46af69a60f96547952e5b00228f33bed5cdd # The source for the library (xxhash.c and xxhash.h) is BSD # The source for the command line tool (xxhsum.c) is GPLv2+ @@ -28,8 +29,6 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk -PKG_UNPACK:=$(HOST_TAR) -C "$(PKG_BUILD_DIR)" --strip-components=1 -xzf "$(DL_DIR)/$(PKG_SOURCE)" - define Package/xxhash/Default TITLE:=Extremely fast hash algorithm URL:=https://xxhash.com/