Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SECTION = "console/utils" |
| 2 | SUMMARY = "Utilities for User-Mode-Linux" |
| 3 | LICENSE = "GPL-2.0" |
| 4 | DEPENDS = "zlib ncurses readline" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 6 | SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_utilities_${PV}.tar.bz2 \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 7 | file://fix-ldflags.patch \ |
| 8 | file://unstrip.patch \ |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 9 | file://0001-include-required-system-header-files-for-fd_set-and-.patch \ |
| 10 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a" |
| 12 | SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41" |
| 13 | |
| 14 | PR = "r1" |
| 15 | |
| 16 | S = "${WORKDIR}/tools" |
| 17 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 18 | inherit update-alternatives |
| 19 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | do_compile() { |
| 21 | oe_runmake |
| 22 | } |
| 23 | |
| 24 | do_install() { |
| 25 | oe_runmake install DESTDIR=${D} |
| 26 | } |
| 27 | |
| 28 | FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}" |
| 29 | FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 30 | |
| 31 | ALTERNATIVE_${PN} = "tunctl" |
| 32 | ALTERNATIVE_LINK_NAME[tunctl] = "${bindir}/tunctl" |