diff options
author | Qian Lei <qianl.fnst@cn.fujitsu.com> | 2014-11-07 17:51:22 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-11-24 11:58:31 +0100 |
commit | ddd15ecef260e4338a0bad985ba9a8abe21169f8 (patch) | |
tree | 689cd964f833af945f8ebea28455b8e3dedd43f7 /meta-oe/recipes-support/tomoyo-tools | |
parent | d4af902af7be7fb7568eb8fd73f34c431b78e7a6 (diff) | |
download | meta-openembedded-contrib-ddd15ecef260e4338a0bad985ba9a8abe21169f8.tar.gz |
tomoyo-tools: Add new recipes
TOMOYO Linux is a Mandatory Access Control (MAC) implementation for
Linux that can be used to increase the security of a system, while also
being useful purely as a system analysis tool.
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/tomoyo-tools')
-rw-r--r-- | meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb b/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb new file mode 100644 index 00000000000..bb2676b0a50 --- /dev/null +++ b/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "TOMOYO Linux tools" +DESCRIPTION = "TOMOYO Linux is a Mandatory Access Control (MAC) implementation \ +for Linux that can be used to increase the security of a system, while also \ +being useful purely as a system analysis tool." +HOMEPAGE = "http://tomoyo.sourceforge.jp/" +SECTION = "System Environment/Kernel" + +SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/53357/${PN}-${PV}-20140601.tar.gz" +SRC_URI[md5sum] = "888869b793127f00d6439a3246598b83" +SRC_URI[sha256sum] = "118ef6ba1fbf7c0b83018c3a0d4d5485dfb9b5b7f647f37ce9f63841a3133c2a" + +S = "${WORKDIR}/${PN}" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe" + +FILES_${PN} += "${libdir}/tomoyo" +FILES_${PN}-dbg += "${libdir}/tomoyo/.debug" + +DEPENDS = "linux-libc-headers ncurses" +CFLAGS_append += "-D_GNU_SOURCE" + +do_compile () { + oe_runmake 'CC=${CC}' +} + +do_install() { + oe_runmake install INSTALLDIR=${D} +} |