add wxBase framework library
[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 DESCRIPTION:=\
30 A clone of Norton Commander for Unix. Text-based, full featured \\\
31 file manager.
32 URL:=http://deco.sourceforge.net/
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR)
37 endef
38
39 define Package/deco/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
42 $(INSTALL_DIR) $(1)/usr/lib/deco
43 $(INSTALL_DATA) $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
44 $(INSTALL_DATA) $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
45 endef
46
47 $(eval $(call BuildPackage,deco))