ed: Convert to generic package infrastructure
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 20 May 2013 22:52:04 +0000 (22:52 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 May 2013 19:59:28 +0000 (21:59 +0200)
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>
package/ed/ed.mk

index 2bb8e0e28fb6b4aed70c72b2aa7db724700f02c1..52ae1f0942d06554e0b1ea27352353dda9176375 100644 (file)
@@ -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))