X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmc%2Fmc.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fmc%2Fmc.mk;h=f96d396f0ddd7d24060e7f78eaf697074e591ad4;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/mc/mc.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/mc/mc.mk new file mode 100644 index 0000000..f96d396 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/mc/mc.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# 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 + +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))