2006-03-21 12:22:52 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# uemacs
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-05-01 22:39:35 +02:00
|
|
|
UEMACS_VERSION = 4.0.15-lt
|
|
|
|
UEMACS_SOURCE = em-$(UEMACS_VERSION).tar.bz2
|
|
|
|
UEMACS_SITE = $(BR2_KERNEL_MIRROR)/software/editors/uemacs/
|
|
|
|
UEMACS_DEPENDENCIES = ncurses
|
2006-03-21 12:22:52 +01:00
|
|
|
|
2012-05-01 22:39:35 +02:00
|
|
|
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
|
2006-03-21 12:22:52 +01:00
|
|
|
|
2012-05-01 22:39:35 +02:00
|
|
|
define UEMACS_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/em $(TARGET_DIR)/usr/bin/em
|
|
|
|
endef
|
2006-03-21 12:22:52 +01:00
|
|
|
|
2012-05-01 22:39:35 +02:00
|
|
|
define UEMACS_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/em
|
|
|
|
endef
|
2006-03-21 12:22:52 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|