43670e4fd6
Mg is a small Emacs-like editor with no external dependencies except a standard C library. It weighs in at 130 kiB and is one of a select few completely free (public domain) text editors suitable for small and embedded systems. This version is based on the OpenBSD Mg, but with more features, one of which being the no-ncurses/termcap support, which heavily reduces the impact on a resource constrained system. Upstream: https://github.com/troglobit/mg/ Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
20 lines
484 B
Makefile
20 lines
484 B
Makefile
################################################################################
|
|
#
|
|
# mg
|
|
#
|
|
################################################################################
|
|
|
|
MG_VERSION = 3.4
|
|
MG_SITE = https://github.com/troglobit/mg/releases/download/v$(MG_VERSION)
|
|
MG_LICENSE = Public Domain
|
|
MG_LICENSE_FILES = UNLICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
|
MG_DEPENDENCIES += ncurses
|
|
MG_CONF_OPTS += --with-curses
|
|
else
|
|
MG_CONF_OPTS += --without-curses
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|