Branch oldpackages for 14.07
[14.07/packages.git] / utils / empty / Makefile
1 #
2 # Copyright (C) 2007 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:=empty
11 PKG_VERSION:=0.6.18b
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=@SF/empty
16 PKG_MD5SUM:=2cf5e1b8ff58c41b63738bdc7c24fbc2
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/empty
21   SECTION:=utils
22   CATEGORY:=Utilities
23   TITLE:=Run applications under pseudo-terminal sessions
24   URL:=http://empty.sourceforge.net
25 endef
26
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
33  programming tools.
34 endef
35
36 define Package/empty/install
37         $(INSTALL_DIR) $(1)/usr/sbin
38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
39 endef
40
41 $(eval $(call BuildPackage,empty))