blob: f3627759994e7020a81a7eaed35b8d9bc623f946 [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"
9SRC_URI[md5sum] = "888804d58742452fe213a68f7eadd0ad"
10SRC_URI[sha256sum] = "00fedfac5e514321250bbe69eaccc732c8a8158596f77a785c2e3ae9f9968283"
11
12S = "${WORKDIR}/${BPN}"
13
14LICENSE = "GPLv2"
15LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe"
16
17FILES_${PN} += "${libdir}/tomoyo"
18FILES_${PN}-dbg += "${libdir}/tomoyo/.debug"
19
20DEPENDS = "linux-libc-headers ncurses"
21
22EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
23
24do_compile () {
25 oe_runmake 'CC=${CC}'
26}
27
28do_install() {
29 oe_runmake install INSTALLDIR=${D}
30}