summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-support/smtp/smtp.bb
blob: c9b1f6e7f71628ff4fff47911eebf115be98670c (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
FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
SUMMARY = "Simple SMTP manager"
DESCRIPTION = "Simple SMTP manager"

PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

SRC_URI = "git://git@git.sila.ru/srv/pub/scm/git/openbmc/obmc-sila-smtp.git;branch=master;protocol=ssh"
SRCREV = "6e7f337d4d52debc0211cb5e083a27cd97a8ba4b"

S = "${WORKDIR}/git"

do_install:append() {
   install -d ${D}/var/lib/smtp/
}

inherit cmake systemd pkgconfig

EXTRA_OECMAKE += "-DADD_PHOSPHOR_LOGGING=ON"

DEPENDS = "boost \
           systemd \
           sdbusplus \
           curl \
           phosphor-logging"

SYSTEMD_SERVICE:${PN} = "xyz.openbmc_project.SMTP.service"