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
|
|
|
|
2020-03-18 09:47:43 +01:00
|
|
|
ED_VERSION = 1.16
|
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
|
2017-03-30 15:43:33 +02:00
|
|
|
ED_LICENSE = GPL-3.0+
|
2012-12-03 05:46:05 +01:00
|
|
|
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))
|