Browse Source

mksh: add ed-host

Waldemar Brodkorb 8 years ago
parent
commit
6c1ac96fd7
2 changed files with 7 additions and 3 deletions
  1. 6 3
      package/ed/Makefile
  2. 1 0
      package/mksh/Makefile

+ 6 - 3
package/ed/Makefile

@@ -4,20 +4,22 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		ed
-PKG_VERSION:=		1.14.1
+PKG_VERSION:=		1.14.2
 PKG_RELEASE:=		1
-PKG_HASH:=		ffb97eb8f2a2b5a71a9b97e3872adce953aa1b8958e04c5b7bf11d556f32552a
+PKG_HASH:=		f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db
 PKG_DESCR:=		unix editor
 PKG_SECTION:=		app/editor
 PKG_BUILDDEP+=		lzip-host
+HOST_BUILDDEP+=		lzip-host
 PKG_URL:=		http://www.gnu.org/software/ed/ed.html
 PKG_SITES:=		${MASTER_SITE_GNU:=ed/}
-PKG_BB:=		1
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.lz
 
+include $(ADK_TOPDIR)/mk/host.mk
 include $(ADK_TOPDIR)/mk/package.mk
 
+$(eval $(call HOST_template,ED,ed,$(PKG_VERSION)-${PKG_RELEASE}))
 $(eval $(call PKG_template,ED,ed,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 ed-install:
@@ -25,4 +27,5 @@ ed-install:
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/ed \
 		$(IDIR_ED)/bin
 
+include ${ADK_TOPDIR}/mk/host-bottom.mk
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 1 - 0
package/mksh/Makefile

@@ -19,6 +19,7 @@ PKG_SUBPKGS:=		MKSH MKSH_TEST
 PKGSD_MKSH_TEST:=	install testsuite
 PKGSC_MKSH_TEST:=	base/tests
 PKGSS_MKSH_TEST:=	perl ed
+PKGSB_MKSH_TEST:=	ed-host
 
 DISTFILES:=		$(PKG_NAME)-R$(PKG_VERSION).tgz
 WRKDIST=		$(WRKDIR)/$(PKG_NAME)