blob: 2fcdb6bd6125ef065a17d92f51bd451f51cd19f6 [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
8SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/53357/${BP}-20170102.tar.gz"
Brad Bishop316dfdd2018-06-25 12:45:53 -04009SRC_URI[sha256sum] = "00fedfac5e514321250bbe69eaccc732c8a8158596f77a785c2e3ae9f9968283"
10
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}