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.

45 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=sc
  9. PKG_VERSION:=1.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/serialconsole/sc
  13. PKG_HASH:=2e7a27d588a51173dda3093381604e6f0a16bb04e95b00fd652f37c34c2c6d04
  14. PKG_MAINTAINER:=Stefan Bethke <stb@lassitu.de>
  15. PKG_LICENSE:=BSD-2-Clause
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/serialconsole
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. SUBMENU:=Terminal
  24. TITLE:=Serial Console - minimal terminal program
  25. URL:=http://sourceforge.net/projects/serialconsole/
  26. endef
  27. define Package/serialconsole/description
  28. serialconsole (sc) is a minimal terminal program allowing to use one machine
  29. to access the serial console of another machine.
  30. endef
  31. define Package/serialconsole/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/sc $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,serialconsole))