blob: 62e40b49bbad6d159bb4c6d64528134c0ece45a2 [file] [log] [blame]
Brad Bishopce086742015-10-27 17:12:45 -04001SUMMARY = "Phosphor DBUS Object Manager"
2DESCRIPTION = "Phosphor DBUS object manager."
3HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr"
4PR = "r1"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
7
Brad Bishopce086742015-10-27 17:12:45 -04008inherit obmc-phosphor-dbus-service
9inherit obmc-phosphor-systemd
10inherit setuptools
11
Brad Bishop48b19612016-08-07 23:18:32 -040012DEPENDS += "systemd"
Rick Altherrc38aae02016-08-01 14:20:50 -070013
Brad Bishopff7dc1d2016-07-13 17:56:34 -040014DBUS_SERVICE_${PN} += "org.openbmc.ObjectMapper"
Brad Bishopce086742015-10-27 17:12:45 -040015RDEPENDS_${PN} += " \
16 python-xml \
17 python-dbus \
18 python-pygobject \
19 "
Chris Austen350def12015-12-02 22:32:06 -060020SRC_URI += "git://github.com/openbmc/phosphor-objmgr"
Brad Bishopce086742015-10-27 17:12:45 -040021
Brad Bishop9a701b42016-07-26 15:52:01 -040022SRCREV = "22ff24a6e668d00557ef6465f96d664fe33226f3"
Brad Bishopce086742015-10-27 17:12:45 -040023
24S = "${WORKDIR}/git"
Brad Bishop9a701b42016-07-26 15:52:01 -040025
26do_compile_append() {
27 oe_runmake -C libmapper
28}
29
30do_install_append() {
31 oe_runmake -C libmapper install DESTDIR=${D}
32}
33
34python populate_packages_prepend () {
35 mapperlibdir = d.getVar("libdir", True)
36 do_split_packages(d, mapperlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Phosphor mapper %s library', extra_depends='', allow_links=True)
37}
38PACKAGES_DYNAMIC += "^libmapper.*"
39FILES_${PN}_remove = "${libdir}/lib*.so.* ${libdir}/*"