initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
select BR2_PACKAGE_NCURSES_WCHAR 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
|
||||
@@ -0,0 +1,4 @@
|
||||
# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256
|
||||
sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz
|
||||
# sha256 locally computed:
|
||||
sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING
|
||||
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
#
|
||||
# mc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MC_VERSION = 4.8.27
|
||||
MC_SOURCE = mc-$(MC_VERSION).tar.xz
|
||||
MC_SITE = http://ftp.midnight-commander.org
|
||||
MC_LICENSE = GPL-3.0+
|
||||
MC_LICENSE_FILES = COPYING
|
||||
MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GPM),y)
|
||||
MC_CONF_OPTS += --with-gpm-mouse
|
||||
MC_DEPENDENCIES += gpm
|
||||
else
|
||||
MC_CONF_OPTS += --without-gpm-mouse
|
||||
endif
|
||||
|
||||
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