From 76c726af051a110a181ac2577cf4dc0d649a816d Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Mon, 13 Jul 2015 01:32:38 +0100 Subject: [PATCH] ntripclient: change source to github 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 --- net/ntripclient/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/net/ntripclient/Makefile b/net/ntripclient/Makefile index 2276b31ad2..f0d92d58e8 100644 --- a/net/ntripclient/Makefile +++ b/net/ntripclient/Makefile @@ -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 @@ -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)"