diff options
author | Ross Burton <ross@openedhand.com> | 2007-11-05 17:36:00 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-11-05 17:36:00 +0000 |
commit | 7676c2b38e649b294bc1332839b3c3a26489dd34 (patch) | |
tree | 6de7024701603e068251830108c09954ef36db4b /meta/packages/ubootchart/ubootchart_svn.bb | |
parent | 2188cf09e11398447a6e59ee8a2819877f90b45c (diff) | |
download | openembedded-core-7676c2b38e649b294bc1332839b3c3a26489dd34.tar.gz openembedded-core-7676c2b38e649b294bc1332839b3c3a26489dd34.tar.bz2 openembedded-core-7676c2b38e649b294bc1332839b3c3a26489dd34.zip |
Move ubootchart to meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3072 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/ubootchart/ubootchart_svn.bb')
-rw-r--r-- | meta/packages/ubootchart/ubootchart_svn.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/packages/ubootchart/ubootchart_svn.bb b/meta/packages/ubootchart/ubootchart_svn.bb new file mode 100644 index 0000000000..7ab485c58c --- /dev/null +++ b/meta/packages/ubootchart/ubootchart_svn.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "A boot profiling tool" +HOMEPAGE = "http://code.google.com/p/ubootchart/" +LICENSE = "GPLv3" +PV = "0.0+r${SRCREV}" +PR = "r2" + +RRECOMMENDS = "acct" + +SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \ + file://sysvinit.patch;patch=1;pnum=0 \ + file://pass-args.patch;patch=1;pnum=0 \ + file://ubootchart-stop \ + file://ubootchart.desktop" + +S = "${WORKDIR}/trunk" + +inherit update-alternatives + +ALTERNATIVE_NAME = "init" +ALTERNATIVE_LINK = "${base_sbindir}/init" +ALTERNATIVE_PATH = "${base_sbindir}/ubootchartd" +ALTERNATIVE_PRIORITY = "20" + +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}/usr/share/applications + 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 + + install -m 0755 ${WORKDIR}/ubootchart-stop ${D}/sbin + install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}/usr/share/applications +} |