Move all to deprecated folder.
This commit is contained in:
19
deprecated/firmware/buildroot/package/mc/Config.in
Normal file
19
deprecated/firmware/buildroot/package/mc/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_MC
|
||||
bool "mc"
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2, slang
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
# mc prefers slang, but can use ncurses too
|
||||
select BR2_PACKAGE_SLANG if !BR2_PACKAGE_NCURSES
|
||||
help
|
||||
GNU Midnight Commander is a visual file manager, licensed under
|
||||
GNU General Public License. It can use either SLang (preferred)
|
||||
or ncurses for screen handling; if neither is enabled SLang
|
||||
will be automatically chosen.
|
||||
|
||||
https://www.midnight-commander.org
|
||||
|
||||
comment "mc needs a toolchain w/ threads, wchar"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU
|
||||
2
deprecated/firmware/buildroot/package/mc/mc.hash
Normal file
2
deprecated/firmware/buildroot/package/mc/mc.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Hash from http://ftp.midnight-commander.org/mc-4.8.15.sha256:
|
||||
sha256 cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16 mc-4.8.15.tar.xz
|
||||
39
deprecated/firmware/buildroot/package/mc/mc.mk
Normal file
39
deprecated/firmware/buildroot/package/mc/mc.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# mc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MC_VERSION = 4.8.15
|
||||
MC_SOURCE = mc-$(MC_VERSION).tar.xz
|
||||
MC_SITE = http://ftp.midnight-commander.org
|
||||
MC_LICENSE = GPLv3+
|
||||
MC_LICENSE_FILES = COPYING
|
||||
MC_DEPENDENCIES = libglib2 host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||
MC_CONF_OPTS += --enable-vfs-sftp
|
||||
MC_DEPENDENCIES += libssh2
|
||||
else
|
||||
MC_CONF_OPTS += --disable-vfs-sftp
|
||||
endif
|
||||
|
||||
# mc prefers slang, so use that if enabled, otherwise
|
||||
# fallback to using ncurses.
|
||||
# Either or both will be enabled, but we prefer slang.
|
||||
ifeq ($(BR2_PACKAGE_SLANG),y)
|
||||
MC_DEPENDENCIES += slang
|
||||
MC_CONF_OPTS += --with-screen=slang
|
||||
else
|
||||
MC_DEPENDENCIES += ncurses
|
||||
MC_CONF_OPTS += --with-screen=ncurses
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
MC_CONF_OPTS += --with-x
|
||||
MC_DEPENDENCIES += xlib_libX11
|
||||
else
|
||||
MC_CONF_OPTS += --without-x
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user