ntripclient: Fix version and switch to codeload (#6690)
authorRosen Penev <rosenp@gmail.com>
Sun, 5 Aug 2018 08:41:23 +0000 (01:41 -0700)
committerNuno Goncalves <nunojpg@gmail.com>
Sun, 5 Aug 2018 08:41:23 +0000 (10:41 +0200)
Version is 1.51, not 1.5.0. Codeload simplifies the Makefile.

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

index 391f625e3f6753db5e0417d205eb44cd37baab88..09199516e00bcf9dc2b8ad21c3be4694ca12886a 100644 (file)
@@ -9,16 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ntripclient
-PKG_VERSION:=1.5.0
+PKG_VERSION:=1.51
+PKG_RELEASE:=1
 
-PKG_RELEASE=$(PKG_SOURCE_VERSION)
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/nunojpg/ntripclient.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=dcfb2cb3e6f31b7291a94e7f86379c78ffc0d44e
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
-PKG_MIRROR_HASH:=8d16f2bd0295a2e77fe8651e5f973c3ca4cf0d62fc4d671ebb54cfa8dc7debd0
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/nunojpg/ntripclient/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=d668e87b2260ef262e2066ac0ed217ec77478170deaf76ff48f2116a23c48ae5
 
 PKG_LICENSE:=GPL-2.0+