board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / ed / ed.mk
blob33323beda87cb27ca6b43c5ffbe36158a8a38476
1 ################################################################################
3 # ed
5 ################################################################################
7 ED_VERSION = 1.14.2
8 ED_SITE = $(BR2_GNU_MIRROR)/ed
9 ED_SOURCE = ed-$(ED_VERSION).tar.lz
10 ED_CONF_OPTS = \
11 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
12 LDFLAGS="$(TARGET_LDFLAGS)"
13 ED_LICENSE = GPLv3+
14 ED_LICENSE_FILES = COPYING
16 define ED_CONFIGURE_CMDS
17 (cd $(@D); \
18 $(TARGET_MAKE_ENV) ./configure \
19 --prefix=/usr \
20 $(TARGET_CONFIGURE_OPTS) \
22 endef
24 define ED_BUILD_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
26 endef
28 define ED_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
30 endef
32 $(eval $(generic-package))