summaryrefslogtreecommitdiff
path: root/package/ed/Makefile
blob: 322dbbd9621a7ce833b31d8a118a5c97cadf8d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		ed
PKG_VERSION:=		1.14.2
PKG_RELEASE:=		1
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/}

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:
	$(INSTALL_DIR) $(IDIR_ED)/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/ed \
		$(IDIR_ED)/bin

include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk