phosphor-certificate-manager: switch to meson

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I00f31a008d909d78f1ebd0497f329087ef457dc5
diff --git a/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager_git.bb b/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager_git.bb
index f11508d..30be5a3 100644
--- a/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager_git.bb
@@ -11,12 +11,9 @@
 SRC_URI = "git://github.com/openbmc/phosphor-certificate-manager"
 SRCREV = "bb939ea45d53b2dbb7ab6b03856f023f82beecd5"
 
-inherit autotools \
-        pkgconfig \
-        systemd
+inherit meson pkgconfig systemd
 
 DEPENDS = " \
-        autoconf-archive-native \
         openssl \
         phosphor-dbus-interfaces \
         phosphor-logging \
@@ -26,14 +23,14 @@
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECONF += "--disable-tests"
+EXTRA_OEMESON += "-Dtests=disabled"
 
 SYSTEMD_SERVICE:${PN} = "phosphor-certificate-manager@.service"
 
 PACKAGECONFIG ??= "bmcweb-cert nslcd-authority-cert"
-PACKAGECONFIG[ibm-hypervisor-cert] = "--enable-ca-cert-extension,,"
-PACKAGECONFIG[bmcweb-cert] = "--enable-bmcweb-cert-config,,"
-PACKAGECONFIG[nslcd-authority-cert] = "--enable-nslcd-authority-cert-config,,"
+PACKAGECONFIG[ibm-hypervisor-cert] = "-Dca-cert-extension=enabled,-Dca-cert-extension=disabled"
+PACKAGECONFIG[bmcweb-cert] = "-Dconfig-bmcweb=enabled,-Dconfig-bmcweb=disabled"
+PACKAGECONFIG[nslcd-authority-cert] = "-Dconfig-nslcd=enabled,-Dconfig-nslcd=disabled"
 
 SYSTEMD_SERVICE:${PN} = " \
         phosphor-certificate-manager@.service \