From f75c2fbde4a554c6841e254f867b6c88a025b580 Mon Sep 17 00:00:00 2001 From: nunojpg Date: Fri, 30 Dec 2011 01:33:23 +0000 Subject: [PATCH] [packages] add ntripclient, Ntrip Version 2.0 Command Line Client git-svn-id: svn://svn.openwrt.org/openwrt/packages@29621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/ntripclient/Makefile | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 net/ntripclient/Makefile diff --git a/net/ntripclient/Makefile b/net/ntripclient/Makefile new file mode 100644 index 000000000..0d0328123 --- /dev/null +++ b/net/ntripclient/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2011 segal.ubi.pt +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ntripclient +PKG_VERSION:=1.5.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME).zip +PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/ +PKG_MD5SUM:=4b357fa648d74e4e13c4b5a2a39f5624 + +include $(INCLUDE_DIR)/package.mk + +define Package/ntripclient + SECTION:=net + CATEGORY:=Network + SUBMENU:=NTRIP + TITLE:=Ntrip Version 2.0 Command Line Client + URL:=http://igs.bkg.bund.de/ntrip/download + MAINTAINER:=Nuno Goncalves +endef + +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) +endef + +define Package/ntripclient/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,ntripclient))