wshaper: fix install path
[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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/dtach
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=A program that emulates the dtach feature of screen
27 URL:=http://dtach.sourceforge.net/
28 endef
29
30 define Build/Configure
31 $(call Build/Configure/Default)
32 endef
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR)
36 endef
37
38 define Package/dtach/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,dtach))