summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/semodule-utils_3.2.bb
blob: a8bca0e91311f30dbe2373249f90c7dc649a1bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SUMMARY = "Utilities to manipulate SELinux policy module package"
DESCRIPTION = "\
The utilities to create, expand, link and show the dependencies between \
the SELinux policy module packages."
SECTION = "base"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833"

require selinux_common.inc

DEPENDS += "libsepol"
RDEPENDS:${PN}-dev = ""

EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a"

S = "${WORKDIR}/git/semodule-utils"

PACKAGES =+ "\
        ${PN}-semodule-expand \
        ${PN}-semodule-link \
        ${PN}-semodule-package \
"

FILES:${PN}-semodule-expand += "${bindir}/semodule_expand"
FILES:${PN}-semodule-link += "${bindir}/semodule_link"
FILES:${PN}-semodule-package += "\
        ${bindir}/semodule_package \
        ${bindir}/semodule_unpackage \
"

BBCLASSEXTEND = "native"