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