Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:=0.95
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/serialconsole/sc
  13. PKG_HASH:=5ae99b370a5a3feb38372b383edc23012b5be5d81547aeb1ac52b408037c1d1c
  14. PKG_MAINTAINER:=Stefan Bethke <stb@lassitu.de>
  15. PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/serialconsole
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. SUBMENU:=Terminal
  21. TITLE:=Serial Console - minimal terminal program
  22. URL:=http://sourceforge.net/projects/serialconsole/
  23. endef
  24. define Package/serialconsole/description
  25. serialconsole (sc) is a minimal terminal program allowing to use one machine
  26. to access the serial console of another machine.
  27. endef
  28. define Package/serialconsole/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/sc $(1)/usr/bin/
  31. endef
  32. $(eval $(call BuildPackage,serialconsole))