7cc269216d
Add license and license hash. Change git download site. The git download method does not work with BR2_KERNEL_MIRROR that is set to https://cdn.kernel.org/pub by default. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
759 B
Makefile
25 lines
759 B
Makefile
################################################################################
|
|
#
|
|
# uemacs
|
|
#
|
|
################################################################################
|
|
|
|
UEMACS_VERSION = 31a16c0ccab9a4b69c79920244b9c623bee7bffe
|
|
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))
|