diff options
Diffstat (limited to 'meta-security/recipes-security/smack')
-rw-r--r-- | meta-security/recipes-security/smack/smack-userspace_git.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-security/recipes-security/smack/smack-userspace_git.bb b/meta-security/recipes-security/smack/smack-userspace_git.bb new file mode 100644 index 000000000..aa6d5fa6f --- /dev/null +++ b/meta-security/recipes-security/smack/smack-userspace_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Selection of tools for developers working with Smack" +HOMEPAGE = "https://github.com/smack-team/smack" +SECTION = "Security/Access Control" +LICENSE = "LGPL-2.1" + +# Alias needed to satisfy dependencies in other recipes. +# This recipe itself cannot be named "smack" because that +# would conflict with the "smack" override. +PROVIDES = "smack" +RPROVIDES_${PN} += "smack" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +PV = "1.2.0+git${SRCPV}" +SRCREV = "d82bac7dac69823fd40015dffad1a128505a2258" +SRC_URI += "git://github.com/smack-team/smack.git;protocol=https;branch=v1.2.x" +S = "${WORKDIR}/git" + +inherit autotools + +BBCLASSEXTEND = "native" + +# Fix copied from meta-tizen. +do_configure_prepend() { + export ac_cv_prog_DOXYGEN="" + sed -i 's@systemd_new=no@systemd_new=yes@' ${S}/configure.ac + sed -i '/PKG_CHECK_MODULES(/,/)/{s/b/r/p;d}' ${S}/configure.ac +} |