2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=@SF
/empty
16 PKG_MD5SUM
:=e56d0d81e5e40b1c41c4b9ed74a1edd8
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=Run applications under pseudo-terminal sessions
24 URL
:=http
://empty.sourceforge.net
27 define Package
/empty
/description
28 empty is an utility that provides an interface to execute and
/or interact
29 with processes under pseudo-terminal sessions
(PTYs
). This tool is
30 definitely useful in programming of
shell scripts designed to communicate
31 with interactive programs like telnet
, ssh
, ftp
, etc. In some cases
, empty
32 can be the simplest replacement for TCL
/expect or other similar
36 define Package
/empty
/install
37 $(INSTALL_DIR
) $(1)/usr
/sbin
38 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
41 $(eval
$(call BuildPackage
,empty
))