move empty from net to utils, bump release number
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=empty
12 PKG_VERSION:=0.6.11b
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/empty
17 PKG_MD5SUM:=fb2c06de44ba37ea98b0be8296b89953
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/empty
22   SECTION:=utils
23   CATEGORY:=Utilities
24   TITLE:=Run applications under pseudo-terminal sessions
25   URL:=http://empty.sourceforge.net
26 endef
27
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 
34  programming tools.
35 endef
36
37 define Package/empty/install    
38         $(INSTALL_DIR) $(1)/usr/sbin
39         $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
40 endef
41
42 $(eval $(call BuildPackage,empty))