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.

50 lines
1.3 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:=ntripserver
  10. PKG_VERSION:=1.5.1
  11. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL:=https://github.com/nunojpg/ntripserver.git
  14. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  15. PKG_SOURCE_VERSION:=c3034ab575e8442222eb8c2ee9e224cac99cfa6d
  16. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  17. PKG_MIRROR_HASH:=71f168c4b41c9e1063280fc8aa21d8794c064708fbfa4929093ef5a139e2e736
  18. PKG_LICENSE:=GPL-2.0+
  19. PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/ntripserver
  22. SECTION:=net
  23. CATEGORY:=Network
  24. SUBMENU:=NTRIP
  25. TITLE:=Ntrip Version 2.0 Command Line Server
  26. URL:=http://igs.bkg.bund.de/ntrip/download
  27. endef
  28. define Package/ntripserver/description
  29. Ntrip Version 2.0 Command Line Server, reading from SISNeT Server, TCP/UDP IP
  30. Port, Serial port, or NtripCaster to support an Ntrip Version 1.0 or 2.0 Caster
  31. endef
  32. MAKE_FLAGS += \
  33. OPTS="$(TARGET_CFLAGS)"
  34. define Package/ntripserver/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripserver $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,ntripserver))