Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Graphical trace viewer for Ftrace" |
| 2 | LICENSE = "GPLv2" |
| 3 | |
| 4 | require trace-cmd.inc |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
| 7 | file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e" |
| 8 | |
| 9 | DEPENDS = "gtk+ libxml2" |
| 10 | RDEPENDS_${PN} = "trace-cmd" |
| 11 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 12 | inherit distro_features_check |
| 13 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" |
| 14 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | EXTRA_OEMAKE = "\ |
| 16 | 'prefix=${prefix}' \ |
| 17 | 'bindir_relative=${@oe.path.relative(prefix, bindir)}' \ |
| 18 | 'libdir=${@oe.path.relative(prefix, libdir)}' \ |
| 19 | NO_PYTHON=1 \ |
| 20 | gui \ |
| 21 | " |
| 22 | do_configure_prepend() { |
| 23 | # Make sure the recompile is OK |
| 24 | rm -f ${B}/.*.d |
| 25 | } |
| 26 | |
| 27 | do_install() { |
| 28 | oe_runmake DESTDIR="${D}" install_gui |
| 29 | rm ${D}${bindir}/trace-cmd |
| 30 | rm -rf ${D}${libdir}/trace-cmd |
| 31 | rmdir ${D}${libdir} |
| 32 | } |