95d5c39391
Adds support for displaying more than 127 lines. Also, switch to a git tree that carries the latest version. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
678 B
Makefile
23 lines
678 B
Makefile
################################################################################
|
|
#
|
|
# uemacs
|
|
#
|
|
################################################################################
|
|
|
|
UEMACS_VERSION = 8841922689769960fa074fbb053cb8507f2f3ed9
|
|
UEMACS_SITE = $(BR2_KERNEL_MIRROR)/scm/editors/uemacs/uemacs.git
|
|
UEMACS_SITE_METHOD = git
|
|
UEMACS_DEPENDENCIES = ncurses
|
|
|
|
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))
|