blob: 87d03b10b1d7ebc64302a3f3145838cf658204c8 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7 \
6 file://ed.h;endline=20;md5=4e36b7a40e137f42aee718165590d125 \
7 file://main.c;endline=17;md5=c5b8f78f115df187af76868a2aead16a"
8
9SECTION = "base"
10
11# LSB states that ed should be in /bin/
12bindir = "${base_bindir}"
13
14# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
15SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz"
16UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
17
18SRC_URI[md5sum] = "273d04778b2a51f7c3cbfcd2001876bf"
19SRC_URI[sha256sum] = "f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db"
20
21EXTRA_OEMAKE = "-e MAKEFLAGS="
22
23inherit texinfo
24
25do_configure() {
26 ${S}/configure
27}
28
29do_install() {
30 oe_runmake 'DESTDIR=${D}' install
31 # Info dir listing isn't interesting at this point so remove it if it exists.
32 if [ -e "${D}${infodir}/dir" ]; then
33 rm -f ${D}${infodir}/dir
34 fi
35}