blob: 1d84ebb194b5bc044f417a2a3c7bedc54c950db1 [file] [log] [blame]
lh758261d2023-07-13 05:52:04 -07001SUMMARY = "SELinux policy compiler"
2DESCRIPTION = "\
3This package contains checkpolicy, the SELinux policy compiler. Only \
4required for building policies. It uses libsepol to generate the \
5binary policy. checkpolicy uses the static libsepol since it deals \
6with low level details of the policy that have not been \
7encapsulated/abstracted by a proper shared library interface."
8
9SECTION = "base"
10LICENSE = "GPLv2+"
11
12DEPENDS += "libsepol bison-native flex-native"
13
14EXTRA_OEMAKE += "LEX='flex'"
15EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a"
16
17do_install_append() {
18 install test/dismod ${D}/${bindir}/sedismod
19 install test/dispol ${D}/${bindir}/sedispol
20}
21
22BBCLASSEXTEND = "native"