diff options
Diffstat (limited to 'meta/recipes-extended/ed/ed_1.15.bb')
-rw-r--r-- | meta/recipes-extended/ed/ed_1.15.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-extended/ed/ed_1.15.bb b/meta/recipes-extended/ed/ed_1.15.bb new file mode 100644 index 0000000000..c79310325f --- /dev/null +++ b/meta/recipes-extended/ed/ed_1.15.bb | |||
@@ -0,0 +1,36 @@ | |||
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=8af8e7dc7275dca05ce6c9e7ece7aec8 \ | ||
7 | file://main.c;endline=17;md5=d4dd6a62c502712358ca18551f978781 \ | ||
8 | " | ||
9 | |||
10 | SECTION = "base" | ||
11 | |||
12 | # LSB states that ed should be in /bin/ | ||
13 | bindir = "${base_bindir}" | ||
14 | |||
15 | # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ | ||
16 | SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz" | ||
17 | UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/" | ||
18 | |||
19 | SRC_URI[md5sum] = "d3aaeb5eb032142948d7a2f98a24899b" | ||
20 | SRC_URI[sha256sum] = "ad4489c0ad7a108c514262da28e6c2a426946fb408a3977ef1ed34308bdfd174" | ||
21 | |||
22 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
23 | |||
24 | inherit texinfo | ||
25 | |||
26 | do_configure() { | ||
27 | ${S}/configure | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | oe_runmake 'DESTDIR=${D}' install | ||
32 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
33 | if [ -e "${D}${infodir}/dir" ]; then | ||
34 | rm -f ${D}${infodir}/dir | ||
35 | fi | ||
36 | } | ||