kmod: bump to version 24
[buildroot-gz.git] / package / ed / ed.mk
blob50adeb4ec5b4a6235ab37310952303d8ebea2788
1 ################################################################################
3 # ed
5 ################################################################################
7 ED_VERSION = 1.14.1
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_DEPENDENCIES = host-lzip
14 ED_LICENSE = GPLv3+
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) -
20 endef
22 define ED_CONFIGURE_CMDS
23 (cd $(@D); \
24 $(TARGET_MAKE_ENV) ./configure \
25 --prefix=/usr \
26 $(TARGET_CONFIGURE_OPTS) \
28 endef
30 define ED_BUILD_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
32 endef
34 define ED_INSTALL_TARGET_CMDS
35 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
36 endef
38 $(eval $(generic-package))