2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-02-12 11:40:28 +01:00
|
|
|
#
|
|
|
|
# ed
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-17 17:41:05 +01:00
|
|
|
|
2017-03-02 20:08:26 +01:00
|
|
|
ED_VERSION = 1.14.2
|
2010-12-17 17:41:05 +01:00
|
|
|
ED_SITE = $(BR2_GNU_MIRROR)/ed
|
2017-02-09 14:32:30 +01:00
|
|
|
ED_SOURCE = ed-$(ED_VERSION).tar.lz
|
2014-12-24 08:54:24 +01:00
|
|
|
ED_CONF_OPTS = \
|
|
|
|
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
2012-12-03 05:46:05 +01:00
|
|
|
ED_LICENSE = GPLv3+
|
|
|
|
ED_LICENSE_FILES = COPYING
|
2003-02-12 11:40:28 +01:00
|
|
|
|
2013-05-21 00:52:04 +02:00
|
|
|
define ED_CONFIGURE_CMDS
|
|
|
|
(cd $(@D); \
|
2016-10-17 18:05:53 +02:00
|
|
|
$(TARGET_MAKE_ENV) ./configure \
|
2013-05-21 00:52:04 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ED_BUILD_CMDS
|
2016-10-17 18:05:53 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
2013-05-21 00:52:04 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define ED_INSTALL_TARGET_CMDS
|
2016-10-17 18:05:53 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
2013-05-21 00:52:04 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|