curl: update to version 7.21.3
[openwrt/svn-archive/archive.git] / utils / dtach / Makefile
1 #
2 # Copyright (C) 2006 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:=dtach
11 PKG_VERSION:=0.8
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/dtach
16 PKG_MD5SUM:=ec5999f3b6bb67da19754fcb2e5221f3
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/dtach
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=A program that emulates the dtach feature of screen
24 URL:=http://dtach.sourceforge.net/
25 endef
26
27 define Package/dtach/description
28 dtach is a tiny program that emulates the detach feature of screen,
29 allowing you to run a program in an environment that is protected from
30 the controlling terminal and attach to it later. dtach does not keep
31 track of the contents of the screen, and thus works best with programs
32 that know how to redraw themselves.
33 endef
34
35 define Build/Configure
36 $(call Build/Configure/Default)
37 endef
38
39 define Build/Compile
40 $(MAKE) -C $(PKG_BUILD_DIR)
41 endef
42
43 define Package/dtach/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,dtach))