add mutella (thanks to olli)
[openwrt/svn-archive/archive.git] / utils / mc / 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:=mc
12 PKG_VERSION:=4.6.1
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/
17 PKG_MD5SUM:=18b20db6e40480a53bac2870c56fc3c4
18
19 PKG_BUILD_DEPENDS:=glib1 libncurses
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/mc
24 SECTION:=utils
25 CATEGORY:=Utilities
26 DEPENDS:=+glib1 +libncurses
27 TITLE:=midnight commander - a powerful file manager
28 DESCRIPTION:=\
29 GNU Midnight Commander is a text-mode full-screen file manager. \\\
30 It uses a two panel interface and a subshell for command execution. \\\
31 It includes an internal editor with syntax highlighting and an \\\
32 internal viewer with support for binary files. Also included is \\\
33 Virtual Filesystem (VFS), that allows files on remote systems \\\
34 (e.g. FTP, SSH, SMB servers) and files inside archives to be \\\
35 manipulated like real files.
36 URL:=http://www.ibiblio.org/mc/
37 endef
38
39 CONFIGURE_ARGS += \
40 --prefix=/usr \
41 --disable-nls \
42 --with-included-gettext \
43 --with-ncurses \
44 --without-sco \
45 --without-sunos-curses \
46 --without-osf1-curses \
47 --without-vcurses \
48 --without-gpm-mouse \
49 --without-hsc \
50 --without-termnet \
51 --without-debug \
52 --without-efence \
53 --without-terminfo \
54 --without-termcap \
55 --without-slang \
56 --without-vfs \
57 --without-netrc \
58 --without-ext2undel \
59 --without-catgets \
60 --without-x \
61 --without-tk \
62 --without-xview \
63 --without-subshell \
64 --disable-glibtest \
65 --with-glib12 \
66 --with-glib-prefix="$(STAGING_DIR)/usr" \
67 , \
68 PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
69
70 define Package/mc/install
71 $(INSTALL_DIR) $(1)/usr/bin
72 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin
73 ln -sf mc $(1)/usr/bin/mcedit
74 endef
75
76 $(eval $(call BuildPackage,mc))