diff options
Diffstat (limited to 'meta/recipes-extended/ed/ed_1.16.bb')
-rw-r--r-- | meta/recipes-extended/ed/ed_1.16.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-extended/ed/ed_1.16.bb b/meta/recipes-extended/ed/ed_1.16.bb new file mode 100644 index 0000000000..f383007b59 --- /dev/null +++ b/meta/recipes-extended/ed/ed_1.16.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Line-oriented text editor" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/ed/" | ||
3 | |||
4 | LICENSE = "GPLv3+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7 \ | ||
6 | file://ed.h;endline=20;md5=0226a8dd88c76afba773f2f0f7c83f5e \ | ||
7 | file://main.c;endline=17;md5=ebd4aff86dc9fa5027d55bc5191746b9 \ | ||
8 | " | ||
9 | |||
10 | SECTION = "base" | ||
11 | |||
12 | CVE_PRODUCT = "gnu:ed" | ||
13 | |||
14 | # LSB states that ed should be in /bin/ | ||
15 | bindir = "${base_bindir}" | ||
16 | |||
17 | # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ | ||
18 | SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz" | ||
19 | UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/" | ||
20 | |||
21 | SRC_URI[md5sum] = "ab480d982289064ca040bc5c75fceffd" | ||
22 | SRC_URI[sha256sum] = "cfc07a14ab048a758473ce222e784fbf031485bcd54a76f74acfee1f390d8b2c" | ||
23 | |||
24 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
25 | |||
26 | inherit texinfo | ||
27 | |||
28 | do_configure() { | ||
29 | ${S}/configure | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | oe_runmake 'DESTDIR=${D}' install | ||
34 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
35 | if [ -e "${D}${infodir}/dir" ]; then | ||
36 | rm -f ${D}${infodir}/dir | ||
37 | fi | ||
38 | } | ||