kumquat-buildroot/package/mc/mc.mk
Mauro Condarelli 21388e3073 mc: new package
[Thomas: fix license, it is actually GPLv3+, not GPLv3.]

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-29 15:31:23 +02:00

26 lines
697 B
Makefile

################################################################################
#
# mc
#
################################################################################
MC_VERSION = 4.8.14
MC_SOURCE = mc-$(MC_VERSION).tar.bz2
MC_SITE = http://ftp.midnight-commander.org
MC_LICENSE = GPLv3+
MC_LICENSE_FILES = COPYING
MC_DEPENDENCIES = libglib2 host-pkgconf
# 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
$(eval $(autotools-package))