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
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
27 TITLE:=A program that emulates the dtach feature of screen
28 URL:=http://dtach.sourceforge.net/
31 define Build/Configure
32 $(call Build/Configure/Default)
36 $(MAKE) -C $(PKG_BUILD_DIR)
39 define Package/dtach/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
44 $(eval $(call BuildPackage,dtach))