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:=13d5b834a7855f2448dbf33e0d3d3af8
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
26 TITLE:=A program that emulates the dtach feature of screen
27 URL:=http://dtach.sourceforge.net/
30 define Build/Configure
31 $(call Build/Configure/Default)
35 $(MAKE) -C $(PKG_BUILD_DIR)
38 define Package/dtach/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
43 $(eval $(call BuildPackage,dtach))