1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Copyright (C) 2011 segal.ubi.pt
  3. # Copyright (C) 2010-2015 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=$(PKG_SOURCE_VERSION)
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL:=https://github.com/nunojpg/ntripclient.git
  14. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  15. PKG_SOURCE_VERSION:=dcfb2cb3e6f31b7291a94e7f86379c78ffc0d44e
  16. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  17. PKG_LICENSE:=GPL-2.0+
  18. PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ntripclient
  21. SECTION:=net
  22. CATEGORY:=Network
  23. SUBMENU:=NTRIP
  24. TITLE:=Ntrip Version 2.0 Command Line Client
  25. URL:=http://igs.bkg.bund.de/ntrip/download
  26. endef
  27. define Package/ntripclient/description
  28. Ntrip Version 2.0 Command Line Client, reading from Ntrip Version 1.0 or 2.0 Caster
  29. endef
  30. MAKE_FLAGS += \
  31. OPTS="$(TARGET_CFLAGS)"
  32. define Package/ntripclient/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntripclient $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,ntripclient))