The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mc / mc.mk
1 ################################################################################
2 #
3 # mc
4 #
5 ################################################################################
6
7 MC_VERSION = 4.8.14
8 MC_SOURCE = mc-$(MC_VERSION).tar.bz2
9 MC_SITE = http://ftp.midnight-commander.org
10 MC_LICENSE =  GPLv3+
11 MC_LICENSE_FILES = COPYING
12 MC_DEPENDENCIES = libglib2 host-pkgconf
13
14 # mc prefers slang, so use that if enabled, otherwise
15 # fallback to using ncurses.
16 # Either or both will be enabled, but we prefer slang.
17 ifeq ($(BR2_PACKAGE_SLANG),y)
18 MC_DEPENDENCIES += slang
19 MC_CONF_OPTS += --with-screen=slang
20 else
21 MC_DEPENDENCIES += ncurses
22 MC_CONF_OPTS += --with-screen=ncurses
23 endif
24
25 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
26 MC_CONF_OPTS += --with-x
27 MC_DEPENDENCIES += xlib_libX11
28 else
29 MC_CONF_OPTS += --without-x
30 endif
31
32 $(eval $(autotools-package))