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.

51 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=kplex
  8. PKG_VERSION:=1.3.4
  9. PKG_RELEASE=1
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
  11. PKG_SOURCE_URL:=http://www.stripydog.com/download
  12. PKG_HASH:=b507d85d5f1def40303326459268a6262d37ea5f13fb73b37b72854e53594dcc
  13. PKG_LICENSE:=GPL-3.0+
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/kplex
  18. SECTION:=net
  19. CATEGORY:=Network
  20. TITLE:=NMEA-0183 multiplexer and router
  21. DEPENDS:=+libpthread
  22. URL:=http://www.stripydog.com/kplex/
  23. endef
  24. define Package/kplex/description
  25. Kplex is a program for combining and routing NMEA-0183 data to and from multiple
  26. sources and destinations. kplex inputs and outputs may be any of Serial lines,
  27. Pseudo Terminals (ptys), Network Interfaces and Files.
  28. endef
  29. define Package/kplex/conffiles
  30. /etc/kplex.conf
  31. endef
  32. define Package/kplex/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/kplex $(1)/usr/bin/
  35. $(INSTALL_DIR) $(1)/etc
  36. $(INSTALL_CONF) $(PKG_BUILD_DIR)/kplex.conf.ex $(1)/etc/kplex.conf
  37. $(INSTALL_DIR) $(1)/etc/init.d
  38. $(INSTALL_BIN) ./files/kplex.init $(1)/etc/init.d/kplex
  39. endef
  40. $(eval $(call BuildPackage,kplex))