buildroot/package/uemacs/uemacs.mk
Baruch Siach 5e0a6cf7dd uemacs: bump to latest version
musl provides a dummy XCASE definition since quite some time. No need to
patch XCASE out.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-09-14 22:07:12 +02:00

25 lines
759 B
Makefile

################################################################################
#
# uemacs
#
################################################################################
UEMACS_VERSION = 1cdcf9df88144049750116e36fe20c8c39fa2517
UEMACS_SITE = https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git
UEMACS_SITE_METHOD = git
UEMACS_DEPENDENCIES = ncurses
UEMACS_LICENSE = MicroEMACS copyright notice
UEMACS_LICENSE_FILES = README
define UEMACS_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
CC="$(TARGET_CC)" DEFINES="-DAUTOCONF -DPOSIX -DUSG" \
CFLAGS+="$(TARGET_CFLAGS) " LIBS="$(TARGET_CFLAGS) -lncurses"
endef
define UEMACS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/em $(TARGET_DIR)/usr/bin/em
endef
$(eval $(generic-package))