2 # Copyright (C) 2011 segal.ubi.pt
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME).zip
15 PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/
16 PKG_MD5SUM:=4b357fa648d74e4e13c4b5a2a39f5624
18 PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
20 include $(INCLUDE_DIR)/package.mk
22 define Package/ntripclient
26 TITLE:=Ntrip Version 2.0 Command Line Client
27 URL:=http://igs.bkg.bund.de/ntrip/download
30 define Package/ntripclient/description
31 Ntrip Version 2.0 Command Line Client, reading from Ntrip Version 1.0 or 2.0 Caster
35 mkdir -p $(PKG_BUILD_DIR)
36 unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR)
40 OPTS="$(TARGET_CFLAGS)"
42 define Package/ntripclient/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/
47 $(eval $(call BuildPackage,ntripclient))