ttyrun_2.37.0.bb 869 B

123456789101112131415161718192021222324252627282930313233
  1. SUMMARY = "Start the program if the specified terminal device is available."
  2. DESCRIPTION = "ttyrun is typically used to prevent a respawn through the \
  3. init(8) program when a terminal is not available."
  4. HOMEPAGE = "https://github.com/ibm-s390-linux/s390-tools"
  5. LICENSE = "MIT"
  6. LIC_FILES_CHKSUM = "file://LICENSE;md5=f5118f167b055bfd7c3450803f1847af"
  7. SRC_URI = "git://github.com/ibm-s390-linux/s390-tools;protocol=https;branch=master"
  8. SRCREV = "793c037ded98cd001075cdb55a9c58e122380256"
  9. CVE_PRODUCT = "s390-tools"
  10. EXTRA_OEMAKE = "\
  11. V=1 \
  12. CC="${CC}" \
  13. DISTRELEASE=${PR} \
  14. "
  15. # We just want ttyrun and not the rest of s390-utils
  16. do_configure() {
  17. oe_runmake -C ${S}/iucvterm/src clean
  18. }
  19. do_compile() {
  20. oe_runmake -C ${S}/iucvterm/src ttyrun
  21. }
  22. do_install() {
  23. install -d ${D}${sbindir}
  24. install ${S}/iucvterm/src/ttyrun ${D}${sbindir}
  25. }