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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/dtach
17 PKG_MD5SUM:=ec5999f3b6bb67da19754fcb2e5221f3
19 include $(INCLUDE_DIR)/package.mk
24 TITLE:=A program that emulates the dtach feature of screen
25 URL:=http://dtach.sourceforge.net/
28 define Package/dtach/description
29 dtach is a tiny program that emulates the detach feature of screen,
30 allowing you to run a program in an environment that is protected from
31 the controlling terminal and attach to it later. dtach does not keep
32 track of the contents of the screen, and thus works best with programs
33 that know how to redraw themselves.
36 define Build/Configure
37 $(call Build/Configure/Default)
41 $(MAKE) -C $(PKG_BUILD_DIR)
44 define Package/dtach/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
49 $(eval $(call BuildPackage,dtach))