aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-04-13 14:33:22 -0700
committerRosen Penev <rosenp@gmail.com>2024-04-20 18:06:21 -0700
commitdb07f86c35f5a1ee6a441262119d0443ac40ee9b (patch)
treeed7adca882f486ac3261a224bff4c7b491f1816e /utils
parentddd379416ed01b541101644d3880dd9ece3de4d3 (diff)
xxhash: switch to local git tarballs
Smaller and avoids having to use PKG_UNPACK. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/xxhash/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/utils/xxhash/Makefile b/utils/xxhash/Makefile
index 4b5598f41..510193338 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/