2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/dtach
16 PKG_MD5SUM:=ec5999f3b6bb67da19754fcb2e5221f3
18 include $(INCLUDE_DIR)/package.mk
23 TITLE:=A program that emulates the dtach feature of screen
24 URL:=http://dtach.sourceforge.net/
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.
35 define Build/Configure
36 $(call Build/Configure/Default)
40 $(MAKE) -C $(PKG_BUILD_DIR)
43 define Package/dtach/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
48 $(eval $(call BuildPackage,dtach))