c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
660 B
Makefile
23 lines
660 B
Makefile
################################################################################
|
|
#
|
|
# uemacs
|
|
#
|
|
################################################################################
|
|
|
|
UEMACS_VERSION = 4.0.15-lt
|
|
UEMACS_SOURCE = em-$(UEMACS_VERSION).tar.gz
|
|
UEMACS_SITE = $(BR2_KERNEL_MIRROR)/software/editors/uemacs
|
|
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))
|