1 ################################################################################
5 ################################################################################
8 ED_SITE
= $(BR2_GNU_MIRROR
)/ed
9 ED_SOURCE
= ed-
$(ED_VERSION
).
tar.lz
11 CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
12 LDFLAGS
="$(TARGET_LDFLAGS)"
13 ED_DEPENDENCIES
= host-lzip
15 ED_LICENSE_FILES
= COPYING
17 define ED_EXTRACT_CMDS
18 $(HOST_DIR
)/usr
/bin
/lzip
-d
-c
$(DL_DIR
)/$(ED_SOURCE
) | \
19 tar --strip-components
=1 -C
$(@D
) $(TAR_OPTIONS
) -
22 define ED_CONFIGURE_CMDS
24 $(TARGET_MAKE_ENV
) .
/configure \
26 $(TARGET_CONFIGURE_OPTS
) \
31 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
34 define ED_INSTALL_TARGET_CMDS
35 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
="$(TARGET_DIR)" install
38 $(eval
$(generic-package
))