Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "runtime performance analyzer" |
| 2 | HOMEPAGE = "https://github.com/iipeace/guider" |
| 3 | BUGTRACKER = "https://github.com/iipeace/guider/issues" |
| 4 | AUTHOR = "Peace Lee <ipeace5@gmail.com>" |
| 5 | |
| 6 | LICENSE = "GPLv2+" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2" |
| 8 | |
Brad Bishop | 87b3cb8 | 2019-11-15 16:35:37 -0500 | [diff] [blame^] | 9 | PV = "3.9.6+git${SRCPV}" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 10 | PR = "r0" |
| 11 | |
| 12 | SRC_URI = "git://github.com/iipeace/${BPN}" |
| 13 | #SRCREV = "${AUTOREV}" |
Brad Bishop | 87b3cb8 | 2019-11-15 16:35:37 -0500 | [diff] [blame^] | 14 | SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | R = "${RECIPE_SYSROOT}" |
| 18 | |
| 19 | inherit distutils |
| 20 | |
| 21 | GUIDER_OBJ = "guider.pyc" |
| 22 | GUIDER_SCRIPT = "guider" |
| 23 | |
| 24 | do_install() { |
| 25 | python ${S}/setup.py install |
| 26 | |
| 27 | install -d ${D}${bindir} |
| 28 | install -v -m 0755 ${STAGING_BINDIR_NATIVE}/${GUIDER_SCRIPT} ${D}${bindir}/${GUIDER_SCRIPT} |
| 29 | |
| 30 | install -d ${D}${datadir}/${BPN} |
| 31 | install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ} |
| 32 | } |
| 33 | |
| 34 | RDEPENDS_${PN} = "python-ctypes python-shell \ |
| 35 | python-json python-subprocess" |