From: Markos Chandras Date: Mon, 20 May 2013 22:52:04 +0000 (+0000) Subject: ed: Convert to generic package infrastructure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a37b625e2d89cf64674f320de39d743db080c03;p=buildroot.git ed: Convert to generic package infrastructure The package uses custom configure and Makefile files. Signed-off-by: Markos Chandras Signed-off-by: Peter Korsgaard --- diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 2bb8e0e28f..52ae1f0942 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -11,4 +11,20 @@ ED_CONF_OPT = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ ED_LICENSE = GPLv3+ ED_LICENSE_FILES = COPYING -$(eval $(autotools-package)) +define ED_CONFIGURE_CMDS + (cd $(@D); \ + ./configure \ + --prefix=/usr \ + $(TARGET_CONFIGURE_OPTS) \ + ) +endef + +define ED_BUILD_CMDS + $(MAKE) -C $(@D) +endef + +define ED_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package))