openpower-host-ipmi-oem: Convert build process to autotools

Change-Id: Ic4c287e27483ae7e267a1551c7141a55559de5bd
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb b/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
index 87eb141..da36ba4 100644
--- a/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
+++ b/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
@@ -3,28 +3,18 @@
 HOMEPAGE = "https://github.com/openbmc/openpower-host-ipmi-oem"
 PR = "r1"
 
+inherit autotools pkgconfig
 inherit obmc-phosphor-license
 
-DEPENDS += "systemd    \
-            host-ipmid \
-            "
+DEPENDS += "host-ipmid"
+DEPENDS += "autoconf-archive-native"
+
 TARGET_CFLAGS += "-fpic"
 
-
-RDEPENDS_${PN} += "libsystemd"
-
-
-
 SRC_URI += "git://github.com/openbmc/openpower-host-ipmi-oem"
-
-SRCREV = "e74fc6bb9221663b1875332944b2f383e39d9a12"
-
-FILES_${PN} += "${libdir}/host-ipmid/*.so"
-FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug"
+SRCREV = "70dbc5871c6da23f7f14046ce9d356600992f6a8"
 
 S = "${WORKDIR}/git"
 
-do_install() {
-        install -m 0755 -d ${D}${libdir}/host-ipmid
-        install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
-}
+FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
+FILES_${PN}-dev_append = " ${libdir}/host-ipmid/lib*${SOLIBSDEV} ${libdir}/host-ipmid/*.la"