blob: 86acdc7aa117b215a357b02e837d346be19ab05d [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "TOMOYO Linux tools"
2DESCRIPTION = "TOMOYO Linux is a Mandatory Access Control (MAC) implementation \
3for Linux that can be used to increase the security of a system, while also \
4being useful purely as a system analysis tool."
5HOMEPAGE = "http://tomoyo.sourceforge.jp/"
6SECTION = "System Environment/Kernel"
7
Patrick Williamsda295312023-12-05 16:48:56 -06008SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/70710/${BP}-20210910.tar.gz"
9SRC_URI[sha256sum] = "47a12cdb1fe7bbd0b2e3486150fe1e754fa9c869aeefd42fd311c4022b78010a"
Brad Bishop316dfdd2018-06-25 12:45:53 -040010
11S = "${WORKDIR}/${BPN}"
12
Andrew Geissler9aee5002022-03-30 16:27:02 +000013LICENSE = "GPL-2.0-only"
Brad Bishop316dfdd2018-06-25 12:45:53 -040014LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe"
15
Patrick Williams213cb262021-08-07 19:21:33 -050016FILES:${PN} += "${libdir}/tomoyo"
17FILES:${PN}-dbg += "${libdir}/tomoyo/.debug"
Brad Bishop316dfdd2018-06-25 12:45:53 -040018
19DEPENDS = "linux-libc-headers ncurses"
20
21EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
22
23do_compile () {
24 oe_runmake 'CC=${CC}'
25}
26
27do_install() {
Patrick Williams03907ee2022-05-01 06:28:52 -050028 oe_runmake install SBINDIR=${base_sbindir} INSTALLDIR=${D}
Brad Bishop316dfdd2018-06-25 12:45:53 -040029}