[packages] mc: update to v4.6.2, update URLs, cleanup
[packages.git] / utils / mc / Makefile
1
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mc
11 PKG_VERSION:=4.6.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/
16 PKG_MD5SUM:=ec92966f4d0c8b50c344fe901859ae2a
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/mc
21   SECTION:=utils
22   CATEGORY:=Utilities
23   DEPENDS:=+glib1 +libncurses
24   TITLE:=midnight commander - a powerful file manager
25   URL:=http://www.midnight-commander.org/
26   SUBMENU:=filemanager
27 endef
28
29 define Package/mc/description
30         GNU Midnight Commander is a text-mode full-screen file manager. 
31         It uses a two panel interface and a subshell for command execution. 
32         It includes an internal editor with syntax highlighting and an 
33         internal viewer with support for binary files. Also included is 
34         Virtual Filesystem (VFS), that allows files on remote systems 
35         (e.g. FTP, SSH, SMB servers) and files inside archives to be 
36         manipulated like real files.
37 endef
38
39 CONFIGURE_ARGS += \
40         --with-included-gettext \
41         --with-ncurses \
42         --without-sco \
43         --without-sunos-curses \
44         --without-osf1-curses \
45         --without-vcurses \
46         --without-gpm-mouse \
47         --without-hsc \
48         --without-termnet \
49         --without-debug \
50         --without-efence \
51         --without-terminfo \
52         --without-termcap \
53         --without-slang \
54         --without-vfs \
55         --without-netrc \
56         --without-ext2undel \
57         --without-catgets \
58         --without-x \
59         --without-tk \
60         --without-xview \
61         --without-subshell \
62         --disable-glibtest \
63         --with-glib12 \
64         --with-glib-prefix="$(STAGING_DIR)/usr" \
65
66 define Package/mc/install
67         $(INSTALL_DIR) $(1)/usr/bin
68         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin/
69         ln -nsf mc $(1)/usr/bin/mcedit
70 endef
71
72 $(eval $(call BuildPackage,mc))