From 1bac5b386d0155ab9211cd710cded034b5dae988 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 13 Apr 2024 14:44:40 -0700 Subject: [PATCH] udpspeeder: use local tarballs Simpler, smaller, and avoids PKG_UNPACK. Signed-off-by: Rosen Penev --- net/udpspeeder/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/udpspeeder/Makefile b/net/udpspeeder/Makefile index cfa6a7f19e..77b329146c 100644 --- a/net/udpspeeder/Makefile +++ b/net/udpspeeder/Makefile @@ -9,11 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=UDPspeeder PKG_VERSION:=20230206.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://codeload.github.com/wangyu-/$(PKG_NAME)/tar.gz/$(PKG_VERSION)? -PKG_HASH:=c6b0c45e971360b25cd49be0369e94b2fb12f649d39c7e60c172c14a9e3a4e0d +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=$(PKG_VERSION) +PKG_SOURCE_URL:=https://github.com/wangyu-/UDPspeeder +PKG_MIRROR_HASH:=8196a07089112a164ea07cc95806f79075bd1b12cc7af5316e2793421bb2cfbf PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -38,11 +39,10 @@ endef MAKE_FLAGS += cross define Build/Prepare - $(PKG_UNPACK) + $(Build/Prepare/Default) sed -i 's/cc_cross=.*/cc_cross=$(TARGET_CXX)/g' $(PKG_BUILD_DIR)/makefile sed -i '/\gitversion/d' $(PKG_BUILD_DIR)/makefile echo 'const char * const gitversion = "$(PKG_VERSION)";' > $(PKG_BUILD_DIR)/git_version.h - $(Build/Patch) endef define Package/UDPspeeder/install -- 2.30.2