[oe-commits] Florian Boor : ubootchart: Add recipe for SVN version

git version control git at git.openembedded.org
Tue May 3 15:09:42 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 95bf5692c5553458ac90676db97092bb20ade2e8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=95bf5692c5553458ac90676db97092bb20ade2e8

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Fri Nov  5 00:34:44 2010 +0100

ubootchart: Add recipe for SVN version

A small and easy to use boot process profiler generating bootchart compatible output.
>From µCross, tested on armv5te platforms and other.

Signed-off-by: Florian Boor <florian at kernelconcepts.de>

---

 recipes/ubootchart/ubootchart_svn.bb |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/recipes/ubootchart/ubootchart_svn.bb b/recipes/ubootchart/ubootchart_svn.bb
new file mode 100644
index 0000000..835638c
--- /dev/null
+++ b/recipes/ubootchart/ubootchart_svn.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A boot profiling tool"
+HOMEPAGE = "http://code.google.com/p/ubootchart/"
+LICENSE="GPLv3"
+PV = "0.1.0+svnr${SRCREV}"
+PR = "r0"
+SRCREV_pn-ubootchart ?= "12"
+
+SRC_URI="svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk"
+S = "${WORKDIR}/trunk"
+
+
+do_patch() {
+    sed -i "s/@VERSION@/${PV}-${PR}/" ${S}/ubootchartd
+}
+
+do_compile() {
+        ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin
+}
+
+do_install() {
+        install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}${docdir}/ubootchart
+        install -m 0755 ${S}/ubootchartd_bin ${D}/sbin
+        install -m 0755 ${S}/ubootchartd ${D}/sbin
+        install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart
+        install -m 0755 ${S}/start.sh ${D}/etc/ubootchart
+        install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart
+}





More information about the Openembedded-commits mailing list