add mutella (thanks to olli)
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dtach
12 PKG_VERSION:=0.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/dtach
17 PKG_MD5SUM:=13d5b834a7855f2448dbf33e0d3d3af8
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/dtach
25 SECTION:=utils
26 CATEGORY:=Utilities
27 TITLE:=A program that emulates the dtach feature of screen
28 URL:=http://dtach.sourceforge.net/
29 endef
30
31 define Build/Configure
32 $(call Build/Configure/Default)
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR)
37 endef
38
39 define Package/dtach/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,dtach))