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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=@SF
/empty
17 PKG_MD5SUM
:=e56d0d81e5e40b1c41c4b9ed74a1edd8
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=Run applications under pseudo-terminal sessions
25 URL
:=http
://empty.sourceforge.net
28 define Package
/empty
/description
29 empty is an utility that provides an interface to execute and
/or interact
30 with processes under pseudo-terminal sessions
(PTYs
). This tool is
31 definitely useful in programming of
shell scripts designed to communicate
32 with interactive programs like telnet
, ssh
, ftp
, etc. In some cases
, empty
33 can be the simplest replacement for TCL
/expect or other similar
37 define Package
/empty
/install
38 $(INSTALL_DIR
) $(1)/usr
/sbin
39 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
42 $(eval
$(call BuildPackage
,empty
))