ntripclient: change source to github
authorNuno Goncalves <[email protected]>
Mon, 13 Jul 2015 00:32:38 +0000 (01:32 +0100)
committerNuno Goncalves <[email protected]>
Mon, 13 Jul 2015 01:28:20 +0000 (02:28 +0100)
ntripclient developer agency http://igs.bkg.bund.de/ does not reliably provide a source mirror with version naming.

Created a github repository to provide sources and allow contributions.

Signed-off-by: Nuno Goncalves <[email protected]>
net/ntripclient/Makefile

index 2276b31ad27b8cbde23981e93412daf41729c511..f0d92d58e8aa99ad18035bf4afa58f1eef13bedf 100644 (file)
@@ -10,12 +10,16 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ntripclient
 PKG_VERSION:=1.5.0
-PKG_RELEASE:=3
-PKG_LICENSE:=GPL-2.0+
 
-PKG_SOURCE:=$(PKG_NAME).zip
-PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/
-PKG_MD5SUM:=4b357fa648d74e4e13c4b5a2a39f5624
+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_LICENSE:=GPL-2.0+
 
 PKG_MAINTAINER:=Nuno Goncalves <[email protected]>
 
@@ -33,12 +37,6 @@ define Package/ntripclient/description
   Ntrip Version 2.0 Command Line Client, reading from Ntrip Version 1.0 or 2.0 Caster
 endef
 
-define Build/Prepare
-       mkdir -p $(PKG_BUILD_DIR)
-       unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR)
-       $(call Build/Prepare/Default)
-endef
-
 MAKE_FLAGS += \
        OPTS="$(TARGET_CFLAGS)"