From 2a85d7863c1fb870c09b2d9084aced1368c6594d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 4 Aug 2018 19:41:53 -0700 Subject: [PATCH] tgt: Switch to codeload Simplifies the makefile and makes it easier to bump versions. Signed-off-by: Rosen Penev --- net/tgt/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/net/tgt/Makefile b/net/tgt/Makefile index e6d3aaa76a..75339ac1a2 100644 --- a/net/tgt/Makefile +++ b/net/tgt/Makefile @@ -8,21 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tgt PKG_VERSION:=1.0.73 -PKG_REV:=013223dc886a03719ca02db52162056249d99448 -PKG_MIRROR_HASH:=649bd012ab0944644ff83cc2974e7a5c374d568e0f4328d9f8d352d4b59f73bb -PKG_RELEASE:=1 -PKG_USE_MIPS16:=0 +PKG_RELEASE:=2 -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/fujita/tgt.git +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/fujita/tgt/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=2e3899a2235386a68df8cbf0eccb6a44e221a3e9e6bd9215c903c3fc9ed34bbf -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_MAINTAINER:=Maxim Storchak PKG_LICENSE:=GPL-2.0 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) +PKG_USE_MIPS16:=0 include $(INCLUDE_DIR)/package.mk -- 2.30.2