You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2011 segal.ubi.pt
  3. # Copyright (C) 2010-2014 OpenWrt.org
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=ntripclient
  10. PKG_VERSION:=1.5.0
  11. PKG_RELEASE:=2
  12. PKG_LICENSE:=GPL-2.0+
  13. PKG_SOURCE:=$(PKG_NAME).zip
  14. PKG_SOURCE_URL:=http://igs.bkg.bund.de/root_ftp/NTRIP/software/
  15. PKG_MD5SUM:=4b357fa648d74e4e13c4b5a2a39f5624
  16. PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/ntripclient
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=NTRIP
  22. TITLE:=Ntrip Version 2.0 Command Line Client
  23. URL:=http://igs.bkg.bund.de/ntrip/download
  24. endef
  25. define Package/ntripclient/description
  26. Ntrip Version 2.0 Command Line Client, reading from Ntrip Version 1.0 or 2.0 Caster
  27. endef
  28. define Build/Prepare
  29. mkdir -p $(PKG_BUILD_DIR)
  30. unzip $(DL_DIR)/$(PKG_SOURCE) -d $(PKG_BUILD_DIR)
  31. endef
  32. MAKE_FLAGS += \
  33. OPTS="$(TARGET_CFLAGS)"
  34. define Package/ntripclient/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,ntripclient))