blob: e905eed3c798f3affdd57d8db8fe82ff8d3e0c53 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7 \
Andrew Geisslerd1e89492021-02-12 15:35:20 -06006 file://ed.h;endline=20;md5=b72aa5eaafef318c6bfc37f858469113 \
7 file://main.c;endline=17;md5=2c93e24f4db3528a00a24c7df5618e41 \
Andrew Geissler82c905d2020-04-13 13:39:40 -05008 "
9
10SECTION = "base"
11
12CVE_PRODUCT = "gnu:ed"
13
14# LSB states that ed should be in /bin/
15bindir = "${base_bindir}"
16
17# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
18SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz"
19UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
20
Andrew Geisslerd1e89492021-02-12 15:35:20 -060021SRC_URI[sha256sum] = "71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54"
Andrew Geissler82c905d2020-04-13 13:39:40 -050022
23EXTRA_OEMAKE = "-e MAKEFLAGS="
24
25inherit texinfo
26
27do_configure() {
28 ${S}/configure
29}
30
31do_install() {
32 oe_runmake 'DESTDIR=${D}' install
33 # Info dir listing isn't interesting at this point so remove it if it exists.
34 if [ -e "${D}${infodir}/dir" ]; then
35 rm -f ${D}${infodir}/dir
36 fi
37}