# # Copyright (C) 2007 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:=empty PKG_VERSION:=0.6.18b PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/empty PKG_MD5SUM:=2cf5e1b8ff58c41b63738bdc7c24fbc2 include $(INCLUDE_DIR)/package.mk define Package/empty SECTION:=utils CATEGORY:=Utilities TITLE:=Run applications under pseudo-terminal sessions URL:=http://empty.sourceforge.net endef define Package/empty/description empty is an utility that provides an interface to execute and/or interact with processes under pseudo-terminal sessions (PTYs). This tool is definitely useful in programming of shell scripts designed to communicate with interactive programs like telnet, ssh, ftp, etc. In some cases, empty can be the simplest replacement for TCL/expect or other similar programming tools. endef define Package/empty/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ endef $(eval $(call BuildPackage,empty))