summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-05-20 22:52:04 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-26 19:59:28 (GMT)
commit2a37b625e2d89cf64674f320de39d743db080c03 (patch)
tree6c54afa96bfba79f00313064623822f883b1a332
parent4cef036b20d10802fb939218532897195c1ad52e (diff)
downloadbuildroot-2a37b625e2d89cf64674f320de39d743db080c03.tar.gz
buildroot-2a37b625e2d89cf64674f320de39d743db080c03.tar.bz2
ed: Convert to generic package infrastructure
The package uses custom configure and Makefile files. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ed/ed.mk18
1 files changed, 17 insertions, 1 deletions
diff --git a/package/ed/ed.mk b/package/ed/ed.mk
index 2bb8e0e..52ae1f0 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))