2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.midnight-commander.org
/downloads
/
16 PKG_MD5SUM
:=e673b7ec0191e4061b5d8b69368aa113
18 include $(INCLUDE_DIR
)/package.mk
19 include $(INCLUDE_DIR
)/nls.mk
24 DEPENDS
:=+glib2
+libncurses
+libiconv
25 TITLE
:=midnight commander
- a powerful file manager
26 URL
:=http
://www.midnight-commander.org
/
30 define Package
/mc
/description
31 GNU Midnight Commander is a text-mode full-screen file manager.
32 It uses a two panel interface and a subshell for command execution.
33 It includes an internal editor with syntax highlighting and an
34 internal viewer with support for binary files. Also included is
35 Virtual Filesystem
(VFS
), that allows files on remote systems
36 (e.g. FTP
, SSH
, SMB servers
) and files inside archives to be
37 manipulated like real files.
48 AM_HOST
=$(firstword $(wildcard $(STAGING_DIR_HOST
)/share
/automake-
*))
51 $(Build
/Prepare
/Default
)
52 for script in config.guess config.sub depcomp install-sh missing
; do \
53 rm -f
$(PKG_BUILD_DIR
)/config
/$$$$script; \
54 ln
-s
$(AM_HOST
)/$$$$script $(PKG_BUILD_DIR
)/config
/$$$$script; \
58 define Package
/mc
/install
59 $(INSTALL_DIR
) $(1)/usr
/bin
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/mc
$(1)/usr
/bin
/
63 $(eval
$(call BuildPackage
,mc
))