Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor DBUS Object Manager" |
| 2 | DESCRIPTION = "Phosphor DBUS object manager." |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr" |
| 4 | PR = "r1" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
| 7 | |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 8 | inherit obmc-phosphor-dbus-service |
| 9 | inherit obmc-phosphor-systemd |
| 10 | inherit setuptools |
| 11 | |
Brad Bishop | 48b1961 | 2016-08-07 23:18:32 -0400 | [diff] [blame] | 12 | DEPENDS += "systemd" |
Rick Altherr | c38aae0 | 2016-08-01 14:20:50 -0700 | [diff] [blame] | 13 | |
Brad Bishop | a5983c9 | 2016-08-16 09:40:10 -0400 | [diff] [blame] | 14 | DBUS_SERVICE_${PN} += "org.openbmc.ObjectMapper.service" |
Brad Bishop | 231230b | 2016-08-08 20:04:29 -0400 | [diff] [blame] | 15 | SYSTEMD_SERVICE_${PN} = "mapper-wait@.service" |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 16 | RDEPENDS_${PN} += " \ |
| 17 | python-xml \ |
| 18 | python-dbus \ |
| 19 | python-pygobject \ |
| 20 | " |
Chris Austen | 350def1 | 2015-12-02 22:32:06 -0600 | [diff] [blame] | 21 | SRC_URI += "git://github.com/openbmc/phosphor-objmgr" |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 22 | |
Patrick Williams | 151f380 | 2016-09-23 15:20:06 -0500 | [diff] [blame] | 23 | SRCREV = "926b35dc292d607128f0b1b17250c5563797eb1c" |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 24 | |
| 25 | S = "${WORKDIR}/git" |
Brad Bishop | 9a701b4 | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 26 | |
| 27 | do_compile_append() { |
| 28 | oe_runmake -C libmapper |
| 29 | } |
| 30 | |
| 31 | do_install_append() { |
| 32 | oe_runmake -C libmapper install DESTDIR=${D} |
| 33 | } |
| 34 | |
| 35 | python populate_packages_prepend () { |
| 36 | mapperlibdir = d.getVar("libdir", True) |
| 37 | do_split_packages(d, mapperlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Phosphor mapper %s library', extra_depends='', allow_links=True) |
| 38 | } |
| 39 | PACKAGES_DYNAMIC += "^libmapper.*" |
| 40 | FILES_${PN}_remove = "${libdir}/lib*.so.* ${libdir}/*" |