Add empty (#796)
[openwrt/svn-archive/archive.git] / net / 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:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/empty
17 PKG_MD5SUM:=fb2c06de44ba37ea98b0be8296b89953
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/empty
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=run applications under pseudo-terminal (PTY) sessions.
29 DESCRIPTION:=\
30 run applications under pseudo-terminal (PTY) sessions. Replace TCL/Expect with a simple tool\\\
31 and use your favorite shell (sh, bash, csh, tcsh, ksh, zsh, etc)
32 URL:=http://empty.sourceforge.net
33 endef
34
35 define Package/empty/install
36 $(INSTALL_DIR) $(1)/usr/sbin
37 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
38 endef
39
40 $(eval $(call BuildPackage,empty))