ed: Convert to generic package infrastructure
PATCH v2 1/1 ed: Convert to generic package infrastructure
From: Markos Chandras <[email protected]>
The package uses custom configure and Makefile files.
Signed-off-by Markos Chandras <[email protected]>
---
Changes since v1:
- whitespace cleanup
- Use $(TARGET_CONFIGURE_OPTS)
--- package/ed/ed.mk | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
package/ed/ed.mk +17 -1
@@ -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))
Signature · 1 line
1.8.2.1
PATCH v2 1/1 ed: Convert to generic package infrastructure
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Markos" == Markos Chandras <[email protected]> writes:
Markos> From: Markos Chandras <[email protected]> Markos> The package uses custom configure and Makefile files.
Committed to next, thanks.
Signature · 1 line
Bye, Peter Korsgaard