logrotate: enable selinux support
[buildroot-gz.git] / package / ed / ed.mk
blob36f2f2ed299df2840caee2ac6968cf945258b1e0
1 ################################################################################
3 # ed
5 ################################################################################
7 ED_VERSION = 1.9
8 ED_SITE = $(BR2_GNU_MIRROR)/ed
9 ED_CONF_OPTS = \
10 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
11 LDFLAGS="$(TARGET_LDFLAGS)"
12 ED_LICENSE = GPLv3+
13 ED_LICENSE_FILES = COPYING
15 define ED_CONFIGURE_CMDS
16 (cd $(@D); \
17 $(TARGET_MAKE_ENV) ./configure \
18 --prefix=/usr \
19 $(TARGET_CONFIGURE_OPTS) \
21 endef
23 define ED_BUILD_CMDS
24 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
25 endef
27 define ED_INSTALL_TARGET_CMDS
28 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
29 endef
31 $(eval $(generic-package))