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