Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

20
package/mc/Config.in Normal file
View File

@@ -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

4
package/mc/mc.hash Normal file
View File

@@ -0,0 +1,4 @@
# Hash from http://ftp.midnight-commander.org/mc-4.8.33.sha256
sha256 cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c mc-4.8.33.tar.xz
# sha256 locally computed:
sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING

49
package/mc/mc.mk Normal file
View File

@@ -0,0 +1,49 @@
################################################################################
#
# mc
#
################################################################################
MC_VERSION = 4.8.33
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 = \
CFLAGS="$(TARGET_CFLAGS) -std=c99" \
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))