diff options
Diffstat (limited to 'meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb')
-rw-r--r-- | meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb b/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb new file mode 100644 index 0000000000..6b8ce6e23b --- /dev/null +++ b/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Line-oriented text editor" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/ed/" | ||
3 | DESCRIPTION = "GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands." | ||
4 | |||
5 | LICENSE = "GPL-2.0-only" | ||
6 | LICENSE:gplv3test = "GPL-3.0-or-later" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=cca7f74ec83b7a9ce7ccd195aad471bd \ | ||
8 | file://ed.h;endline=20;md5=a24e7f91c0fb83e65a746f5994762a49 \ | ||
9 | file://main.c;endline=17;md5=fd6ad9f1853f123f4ae7a31d59761f09 \ | ||
10 | " | ||
11 | |||
12 | SECTION = "base" | ||
13 | |||
14 | CVE_PRODUCT = "gnu:ed" | ||
15 | |||
16 | # LSB states that ed should be in /bin/ | ||
17 | bindir = "${base_bindir}" | ||
18 | |||
19 | # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ | ||
20 | SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz" | ||
21 | UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/" | ||
22 | |||
23 | SRC_URI[sha256sum] = "d6d0c7192b02b0519c902a93719053e865ade5a784a3b327d93d888457b23c4b" | ||
24 | |||
25 | S = "${UNPACKDIR}/ed-${PV}" | ||
26 | |||
27 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
28 | |||
29 | inherit texinfo | ||
30 | |||
31 | do_configure() { | ||
32 | ${S}/configure | ||
33 | } | ||
34 | |||
35 | do_install() { | ||
36 | oe_runmake 'DESTDIR=${D}' install | ||
37 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
38 | if [ -e "${D}${infodir}/dir" ]; then | ||
39 | rm -f ${D}${infodir}/dir | ||
40 | fi | ||
41 | } | ||
42 | BBCLASSEXTEND = "native" | ||