libre2: use local tarballs
authorRosen Penev <rosenp@gmail.com>
Sun, 18 Aug 2024 04:43:05 +0000 (21:43 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 18 Aug 2024 17:54:47 +0000 (10:54 -0700)
Helps to add compatibility with apk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libre2/Makefile

index 1868f146e06eb5bcc8f9968bdbad5178ad1ccc44..c43c9ae2efb145a4e79bcd1a705b995fa233b8eb 100644 (file)
@@ -1,12 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=re2
-PKG_VERSION:=2023-02-01
-PKG_RELEASE:=3
+PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/google/re2/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=cbce8b7803e856827201a132862e41af386e7afd9cc6d9a9bc7a4fa4d8ddbdde
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/google/re2
+PKG_SOURCE_DATE:=2023-02-01
+PKG_SOURCE_VERSION:=b025c6a3ae05995660e3b882eb3277f4399ced1a
+PKG_MIRROR_HASH:=b473f4fd10d9f0afd65d409cf11dd1fd7b4010cfa4e07cfc99d33e382390baef
 
 PKG_MAINTAINER:=
 PKG_LICENSE:=BSD-3-Clause