diff --git a/utils/serialconsole/Makefile b/utils/serialconsole/Makefile new file mode 100644 index 0000000000..fa336ac636 --- /dev/null +++ b/utils/serialconsole/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=sc +PKG_VERSION:=0.95 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/serialconsole/sc +PKG_MD5SUM:=4fe58576a5bddb9f1fb3dcfc6410b885 +PKG_MAINTAINER:=Stefan Bethke + +PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/serialconsole + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Serial Console - minimal terminal program + URL:=http://sourceforge.net/projects/serialconsole/ +endef + +define Package/serialconsole/description +serialconsole (sc) is a minimal terminal program allowing to use one machine +to access the serial console of another machine. +endef + +define Package/serialconsole/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/sc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,serialconsole))