phosphor-event: Convert build process to autotools

Change-Id: I7bb9a72623bcc8231493a802cf95777e01014acb
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/common/recipes-phosphor/events/obmc-phosphor-event.bb b/common/recipes-phosphor/events/obmc-phosphor-event.bb
index 43825f4..1d412d7 100644
--- a/common/recipes-phosphor/events/obmc-phosphor-event.bb
+++ b/common/recipes-phosphor/events/obmc-phosphor-event.bb
@@ -3,32 +3,23 @@
 HOMEPAGE = "https://github.com/openbmc/phosphor-event"
 PR = "r1"
 
-
+inherit autotools pkgconfig
 inherit obmc-phosphor-license
 inherit obmc-phosphor-dbus-service
-inherit obmc-phosphor-c-daemon
 
+DEPENDS += "systemd"
+DEPENDS += "autoconf-archive-native"
 PROVIDES += "virtual/obmc-event-mgmt"
 RPROVIDES_${PN} += "virtual-obmc-event-mgmt"
 
-TARGET_CXXFLAGS += " -std=c++11 -fpic"
-TARGET_CFLAGS += " -fpic"
-
 SRC_URI += "git://github.com/openbmc/phosphor-event"
-
-SRCREV = "059b35e1eabdd87ad02b4343692789386c134082"
-
-RDEPENDS_${PN} += "libsystemd"
-DEPENDS += "systemd"
+SRCREV = "acdc2a909e7464111b259fb94509dcf8dab7c626"
 
 DBUS_SERVICE_${PN} = "org.openbmc.records.events.service"
 SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/eventd/eventd.conf"
 
 S = "${WORKDIR}/git"
-INSTALL_NAME = "event_messaged"
 
-do_install() {
+do_install_append() {
         install -d ${D}/var/lib/obmc/events/
-        install -m 0755 -d ${D}${sbindir}
-        install -m 0755 ${S}/${INSTALL_NAME} ${D}/${sbindir}/phosphor-eventd
 }