DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / utils / deco / 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:=deco
12 PKG_VERSION:=39
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/deco
17 PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
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/deco
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libncurses
28 TITLE:=Text-based, full featured file manager
29 URL:=http://deco.sourceforge.net/
30 endef
31
32 define Package/deco/description
33 A clone of Norton Commander for Unix. Text-based, full featured
34 file manager.
35 endef
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR)
39 endef
40
41 define Package/deco/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
44 $(INSTALL_DIR) $(1)/usr/lib/deco
45 $(INSTALL_DATA) $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
46 $(INSTALL_DATA) $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
47 endef
48
49 $(eval $(call BuildPackage,deco))