blob: 0057db661cd6ded137468ba4907a6e00aeadc1c4 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "runtime performance analyzer"
2HOMEPAGE = "https://github.com/iipeace/guider"
3BUGTRACKER = "https://github.com/iipeace/guider/issues"
4AUTHOR = "Peace Lee <ipeace5@gmail.com>"
5
6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
8
Brad Bishop87b3cb82019-11-15 16:35:37 -05009PV = "3.9.6+git${SRCPV}"
Brad Bishop19323692019-04-05 15:28:33 -040010PR = "r0"
11
12SRC_URI = "git://github.com/iipeace/${BPN}"
13#SRCREV = "${AUTOREV}"
Brad Bishop87b3cb82019-11-15 16:35:37 -050014SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4"
Brad Bishop19323692019-04-05 15:28:33 -040015
16S = "${WORKDIR}/git"
17R = "${RECIPE_SYSROOT}"
18
19inherit distutils
20
21GUIDER_OBJ = "guider.pyc"
22GUIDER_SCRIPT = "guider"
23
24do_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
34RDEPENDS_${PN} = "python-ctypes python-shell \
35 python-json python-subprocess"