Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "TOMOYO Linux tools" |
| 2 | DESCRIPTION = "TOMOYO Linux is a Mandatory Access Control (MAC) implementation \ |
| 3 | for Linux that can be used to increase the security of a system, while also \ |
| 4 | being useful purely as a system analysis tool." |
| 5 | HOMEPAGE = "http://tomoyo.sourceforge.jp/" |
| 6 | SECTION = "System Environment/Kernel" |
| 7 | |
| 8 | SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/53357/${BP}-20140601.tar.gz" |
| 9 | SRC_URI[md5sum] = "888869b793127f00d6439a3246598b83" |
| 10 | SRC_URI[sha256sum] = "118ef6ba1fbf7c0b83018c3a0d4d5485dfb9b5b7f647f37ce9f63841a3133c2a" |
| 11 | |
| 12 | S = "${WORKDIR}/${BPN}" |
| 13 | |
| 14 | LICENSE = "GPLv2" |
| 15 | LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe" |
| 16 | |
| 17 | FILES_${PN} += "${libdir}/tomoyo" |
| 18 | FILES_${PN}-dbg += "${libdir}/tomoyo/.debug" |
| 19 | |
| 20 | DEPENDS = "linux-libc-headers ncurses" |
| 21 | |
| 22 | EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}" |
| 23 | |
| 24 | do_compile () { |
| 25 | oe_runmake 'CC=${CC}' |
| 26 | } |
| 27 | |
| 28 | do_install() { |
| 29 | oe_runmake install INSTALLDIR=${D} |
| 30 | } |