diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-05-20 22:52:04 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-26 21:59:28 +0200 |
commit | 2a37b625e2d89cf64674f320de39d743db080c03 (patch) | |
tree | 6c54afa96bfba79f00313064623822f883b1a332 /package/ed | |
parent | 4cef036b20d10802fb939218532897195c1ad52e (diff) | |
download | buildroot-novena-2a37b625e2d89cf64674f320de39d743db080c03.tar.gz buildroot-novena-2a37b625e2d89cf64674f320de39d743db080c03.zip |
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>
Diffstat (limited to 'package/ed')
-rw-r--r-- | package/ed/ed.mk | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 2bb8e0e28..52ae1f094 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)) |