DESCRIPTION:= is obselete
[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 URL:=http://www.ibiblio.org/mc/
29 endef
30
31 define Package/mc/description
32 GNU Midnight Commander is a text-mode full-screen file manager.
33 It uses a two panel interface and a subshell for command execution.
34 It includes an internal editor with syntax highlighting and an
35 internal viewer with support for binary files. Also included is
36 Virtual Filesystem (VFS), that allows files on remote systems
37 (e.g. FTP, SSH, SMB servers) and files inside archives to be
38 manipulated like real files.
39 endef
40
41 CONFIGURE_ARGS += \
42 --prefix=/usr \
43 --disable-nls \
44 --with-included-gettext \
45 --with-ncurses \
46 --without-sco \
47 --without-sunos-curses \
48 --without-osf1-curses \
49 --without-vcurses \
50 --without-gpm-mouse \
51 --without-hsc \
52 --without-termnet \
53 --without-debug \
54 --without-efence \
55 --without-terminfo \
56 --without-termcap \
57 --without-slang \
58 --without-vfs \
59 --without-netrc \
60 --without-ext2undel \
61 --without-catgets \
62 --without-x \
63 --without-tk \
64 --without-xview \
65 --without-subshell \
66 --disable-glibtest \
67 --with-glib12 \
68 --with-glib-prefix="$(STAGING_DIR)/usr" \
69 , \
70 PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
71
72 define Package/mc/install
73 $(INSTALL_DIR) $(1)/usr/bin
74 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin
75 ln -sf mc $(1)/usr/bin/mcedit
76 endef
77
78 $(eval $(call BuildPackage,mc))