summaryrefslogtreecommitdiff
path: root/recipes/webkit/qtwebkit-performance-utilities.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/webkit/qtwebkit-performance-utilities.inc')
-rw-r--r--recipes/webkit/qtwebkit-performance-utilities.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/webkit/qtwebkit-performance-utilities.inc b/recipes/webkit/qtwebkit-performance-utilities.inc
new file mode 100644
index 0000000000..e61f22ce71
--- /dev/null
+++ b/recipes/webkit/qtwebkit-performance-utilities.inc
@@ -0,0 +1,33 @@
+DESCRIPTION = "QtWebKit Performance Utilities"
+LICENSE = "GPLv3"
+
+INC_PR = "r0"
+
+DEPENDS = "gd"
+
+SRC_URI = "git://gitorious.org/qtwebkit/performance.git;protocol=git"
+S = "${WORKDIR}/git"
+PV = "0.1+gitr${SRCREV}"
+
+EXTRA_QMAKEVARS_PRE = "INSTALL_DIR=${bindir}"
+
+FILES_${PN} = "${bindir}/qtwebkit-benchmark/*"
+FILES_${PN}-dbg = "${bindir}/qtwebkit-benchmark/.debug/*"
+
+# package memusage stat
+PACKAGES += "memusagestat-dbg memusagestat"
+FILES_memusagestat = "${bindir}/*"
+FILES_memusagestat-dbg = "${bindir}/.debug/*"
+
+
+do_compile_append() {
+ cd ${S}/host-tools/memusagestat
+ ${CC} -o memusagestat memusagestat.c ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -lgd
+}
+
+do_install() {
+ oe_runmake install INSTALL_ROOT=${D}
+ cd ${S}/host-tools/memusagestat
+ install -d ${D}${bindir}
+ install -m 0755 memusagestat ${D}/${bindir}
+}