summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/smack/smack-userspace_git.bb
blob: aa6d5fa6f8306fc5da32dda80cb4fd0061f508da (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
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
}