Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Line-oriented text editor -- selftest variant" |
| 2 | HOMEPAGE = "http://www.gnu.org/software/ed/" |
| 3 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-3.0-or-later" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7 \ |
| 6 | file://ed.h;endline=20;md5=4e36b7a40e137f42aee718165590d125 \ |
| 7 | file://main.c;endline=17;md5=c5b8f78f115df187af76868a2aead16a" |
| 8 | |
| 9 | SECTION = "base" |
| 10 | |
| 11 | # LSB states that ed should be in /bin/ |
| 12 | bindir = "${base_bindir}" |
| 13 | |
| 14 | SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | RECIPE_NO_UPDATE_REASON = "This recipe is used in selftest and shouldn't be updated otherwise" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | |
| 17 | SRC_URI[md5sum] = "7f4a54fa7f366479f03654b8af645fd0" |
| 18 | SRC_URI[sha256sum] = "ffb97eb8f2a2b5a71a9b97e3872adce953aa1b8958e04c5b7bf11d556f32552a" |
| 19 | |
| 20 | S = "${WORKDIR}/ed-${PV}" |
| 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 | } |
Andrew Geissler | 5a43b43 | 2020-06-13 10:46:56 -0500 | [diff] [blame] | 37 | |
| 38 | BBCLASSEXTEND = "native" |