ed_1.21.bb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. LICENSE = "GPL-2.0-only"
  5. LIC_FILES_CHKSUM = "file://COPYING;md5=cca7f74ec83b7a9ce7ccd195aad471bd \
  6. file://ed.h;endline=20;md5=a24e7f91c0fb83e65a746f5994762a49 \
  7. file://main.c;endline=17;md5=fd6ad9f1853f123f4ae7a31d59761f09 \
  8. "
  9. SECTION = "base"
  10. CVE_PRODUCT = "gnu:ed"
  11. # LSB states that ed should be in /bin/
  12. bindir = "${base_bindir}"
  13. # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
  14. SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz"
  15. UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
  16. SRC_URI[sha256sum] = "60e24998727d453a5cf02c54664b97536de46a2b34cd1f4f67c1c1a61bbbad75"
  17. EXTRA_OEMAKE = "-e MAKEFLAGS="
  18. inherit texinfo
  19. do_configure() {
  20. ${S}/configure
  21. }
  22. do_install() {
  23. oe_runmake 'DESTDIR=${D}' install
  24. # Info dir listing isn't interesting at this point so remove it if it exists.
  25. if [ -e "${D}${infodir}/dir" ]; then
  26. rm -f ${D}${infodir}/dir
  27. fi
  28. }