diff options
Diffstat (limited to 'meta/recipes-core/ttyrun/ttyrun_2.32.0.bb')
| -rw-r--r-- | meta/recipes-core/ttyrun/ttyrun_2.32.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/ttyrun/ttyrun_2.32.0.bb b/meta/recipes-core/ttyrun/ttyrun_2.32.0.bb new file mode 100644 index 0000000000..9a8be15dab --- /dev/null +++ b/meta/recipes-core/ttyrun/ttyrun_2.32.0.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 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 | |||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f5118f167b055bfd7c3450803f1847af" | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/ibm-s390-linux/s390-tools;protocol=https;branch=master" | ||
| 10 | SRCREV = "9eea78b3ad8ab3710fb3b2d80b9cd058d7c8aba7" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | EXTRA_OEMAKE = "\ | ||
| 15 | V=1 \ | ||
| 16 | CC="${CC}" \ | ||
| 17 | DISTRELEASE=${PR} \ | ||
| 18 | " | ||
| 19 | |||
| 20 | # We just want ttyrun and not the rest of s390-utils | ||
| 21 | |||
| 22 | do_configure() { | ||
| 23 | oe_runmake -C ${S}/iucvterm/src clean | ||
| 24 | } | ||
| 25 | |||
| 26 | do_compile() { | ||
| 27 | oe_runmake -C ${S}/iucvterm/src ttyrun | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install() { | ||
| 31 | install -d ${D}${sbindir} | ||
| 32 | install ${S}/iucvterm/src/ttyrun ${D}${sbindir} | ||
| 33 | } | ||
