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