summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/ubootchart/ubootchart_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/ubootchart/ubootchart_svn.bb')
-rw-r--r--meta-extras/packages/ubootchart/ubootchart_svn.bb21
1 files changed, 18 insertions, 3 deletions
diff --git a/meta-extras/packages/ubootchart/ubootchart_svn.bb b/meta-extras/packages/ubootchart/ubootchart_svn.bb
index 95e09c98a8..7ab485c58c 100644
--- a/meta-extras/packages/ubootchart/ubootchart_svn.bb
+++ b/meta-extras/packages/ubootchart/ubootchart_svn.bb
@@ -2,22 +2,37 @@ DESCRIPTION = "A boot profiling tool"
2HOMEPAGE = "http://code.google.com/p/ubootchart/" 2HOMEPAGE = "http://code.google.com/p/ubootchart/"
3LICENSE = "GPLv3" 3LICENSE = "GPLv3"
4PV = "0.0+r${SRCREV}" 4PV = "0.0+r${SRCREV}"
5PR = "r2"
6
7RRECOMMENDS = "acct"
5 8
6SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \ 9SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \
7 file://sysvinit.patch;patch=1;pnum=0" 10 file://sysvinit.patch;patch=1;pnum=0 \
11 file://pass-args.patch;patch=1;pnum=0 \
12 file://ubootchart-stop \
13 file://ubootchart.desktop"
8 14
9S = "${WORKDIR}/trunk" 15S = "${WORKDIR}/trunk"
10 16
17inherit update-alternatives
18
19ALTERNATIVE_NAME = "init"
20ALTERNATIVE_LINK = "${base_sbindir}/init"
21ALTERNATIVE_PATH = "${base_sbindir}/ubootchartd"
22ALTERNATIVE_PRIORITY = "20"
23
11do_compile() { 24do_compile() {
12 ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin 25 ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin
13} 26}
14 27
15do_install() { 28do_install() {
16 install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart 29 install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}/usr/share/applications
17 install -m 0755 ${S}/ubootchartd_bin ${D}/sbin 30 install -m 0755 ${S}/ubootchartd_bin ${D}/sbin
18 install -m 0755 ${S}/ubootchartd ${D}/sbin 31 install -m 0755 ${S}/ubootchartd ${D}/sbin
19 install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart 32 install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart
20 install -m 0755 ${S}/start.sh ${D}/etc/ubootchart 33 install -m 0755 ${S}/start.sh ${D}/etc/ubootchart
21 install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart 34 install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart
35
36 install -m 0755 ${WORKDIR}/ubootchart-stop ${D}/sbin
37 install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}/usr/share/applications
22} 38}
23