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.

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