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:=ntripcaster
  10. PKG_VERSION:=0.1.5
  11. PKG_RELEASE:=3
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://codeload.github.com/nunojpg/ntripcaster/tar.gz/v$(PKG_VERSION)?
  14. PKG_HASH:=2184af9821cf73bac1df229f1e61ca1d3e288c9de6087bee1ae218b54c588452
  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/ntripcaster
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=NTRIP
  22. TITLE:=Standard Ntrip Broadcaster
  23. URL:=https://igs.bkg.bund.de/ntrip
  24. DEPENDS:=+libpthread
  25. endef
  26. define Package/ntripcaster/description
  27. BKG Standard Ntrip Broadcaster
  28. endef
  29. define Package/ntripcaster/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ntripcaster $(1)/usr/bin/
  32. $(INSTALL_DIR) $(1)/usr/share/ntripcaster/conf
  33. $(INSTALL_DATA) $(PKG_BUILD_DIR)/conf/ntripcaster.conf.dist $(1)/usr/share/ntripcaster/conf/
  34. $(INSTALL_DATA) $(PKG_BUILD_DIR)/conf/sourcetable.dat.dist $(1)/usr/share/ntripcaster/conf/
  35. endef
  36. $(eval $(call BuildPackage,ntripcaster))