@ -1,6 +1,4 @@
#
#
# Copyright (C) 2006-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# See /LICENSE for more information.
#
#
@ -9,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := mc
PKG_NAME := mc
PKG_VERSION := 4.8.20
PKG_VERSION := 4.8.20
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_MAINTAINER := Dirk Brenken <dev@brenken.org>
PKG_MAINTAINER := Dirk Brenken <dev@brenken.org>
PKG_LICENSE := GPL-3.0+
PKG_LICENSE := GPL-3.0+
@ -66,38 +64,31 @@ CONFIGURE_VARS += \
ac_cv_search_addwstr = no \
ac_cv_search_addwstr = no \
i f e q ( $( CONFIG_MC_DIFFVIEWER ) , )
i f e q ( $( CONFIG_MC_DIFFVIEWER ) , )
CONFIGURE_ARGS += \
--without-diff-viewer
CONFIGURE_ARGS += --without-diff-viewer
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_EDITOR ) , )
i f e q ( $( CONFIG_MC_EDITOR ) , )
CONFIGURE_ARGS += \
--without-internal-edit
CONFIGURE_ARGS += --without-internal-edit
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_SUBSHELL ) , )
i f e q ( $( CONFIG_MC_SUBSHELL ) , )
CONFIGURE_ARGS += \
--without-subshell
CONFIGURE_ARGS += --without-subshell
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_LARGEFILE ) , )
i f e q ( $( CONFIG_MC_LARGEFILE ) , )
CONFIGURE_ARGS += \
--disable-largefile
CONFIGURE_ARGS += --disable-largefile
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_BACKGROUND ) , )
i f e q ( $( CONFIG_MC_BACKGROUND ) , )
CONFIGURE_ARGS += \
--disable-background
CONFIGURE_ARGS += --disable-background
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_CHARSET ) , )
i f e q ( $( CONFIG_MC_CHARSET ) , )
CONFIGURE_ARGS += \
--disable-charset
CONFIGURE_ARGS += --disable-charset
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_VFS ) , )
i f e q ( $( CONFIG_MC_VFS ) , )
CONFIGURE_ARGS += \
--disable-vfs
CONFIGURE_ARGS += --disable-vfs
e n d i f
e n d i f
d e f i n e P a c k a g e / m c / i n s t a l l
d e f i n e P a c k a g e / m c / i n s t a l l
@ -109,16 +100,20 @@ define Package/mc/install
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/mc.ext $( 1) /etc/mc
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/mc.ext $( 1) /etc/mc
$( INSTALL_DIR) $( 1) /usr/share/mc/help
$( INSTALL_DIR) $( 1) /usr/share/mc/help
$( INSTALL_DATA) $( PKG_BUILD_DIR) /doc/hlp/mc.hlp $( 1) /usr/share/mc/help
$( INSTALL_DATA) $( PKG_BUILD_DIR) /doc/hlp/mc.hlp $( 1) /usr/share/mc/help
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/mc.menu $( 1) /etc/mc
$( INSTALL_DIR) $( 1) /etc/mc/skins
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/skins/default.ini $( 1) /etc/mc/skins
$( INSTALL_DIR) $( 1) /etc/mc/mcedit/Syntax
i f e q ( $( CONFIG_MC_DIFFVIEWER ) , y )
i f e q ( $( CONFIG_MC_DIFFVIEWER ) , y )
ln -sf mc $( 1) /usr/bin/mcdiff
ln -sf mc $( 1) /usr/bin/mcdiff
e n d i f
e n d i f
i f e q ( $( CONFIG_MC_EDITOR ) , y )
i f e q ( $( CONFIG_MC_EDITOR ) , y )
ln -sf mc $( 1) /usr/bin/mcedit
ln -sf mc $( 1) /usr/bin/mcedit
e n d i f
e n d i f
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/mc.menu $( 1) /etc/mc
$( INSTALL_DIR) $( 1) /etc/mc/skins
$( INSTALL_DATA) $( PKG_BUILD_DIR) /misc/skins/default.ini $( 1) /etc/mc/skins
$( INSTALL_DIR) $( 1) /etc/mc/mcedit/Syntax
i f e q ( $( CONFIG_MC_VFS ) , y )
$( INSTALL_DATA) $( PKG_BUILD_D IR) /src/vfs/extfs/helpers/sfs.ini $( 1) /etc/mc
$( INSTALL_DIR) $( 1) /usr/lib/mc/extfs.d
e n d i f
e n d e f
e n d e f
d e f i n e P a c k a g e / m c / c o n f f i l e s
d e f i n e P a c k a g e / m c / c o n f f i l e s