source: packages/utils/mc/Makefile @ 17940

Last change on this file since 17940 was 17940, checked in by nico, 7 years ago

[packages] mc: update to v4.6.2, update URLs, cleanup

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=mc
11PKG_VERSION:=4.6.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/
16PKG_MD5SUM:=ec92966f4d0c8b50c344fe901859ae2a
17
18include $(INCLUDE_DIR)/package.mk
19
20define 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
27endef
28
29define 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.
37endef
38
39CONFIGURE_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
66define 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
70endef
71
72$(eval $(call BuildPackage,mc))
Note: See TracBrowser for help on using the repository browser.