diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-27 13:23:08 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-27 13:23:08 +0000 |
commit | 0b01f1f9638018ad4727045b0620a9d5a6d0381a (patch) | |
tree | fe2ca59cc1aa5c8f9febbfb340afb0ba4551df9e /meta/packages/distcc/distcc_2.18.3.bb | |
parent | 64d91d2b96991c1c8ce28f26f6f401a9b8bea9f6 (diff) | |
download | poky-0b01f1f9638018ad4727045b0620a9d5a6d0381a.tar.gz |
distcc: autostart distccd on boot
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1570 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/distcc/distcc_2.18.3.bb')
-rw-r--r-- | meta/packages/distcc/distcc_2.18.3.bb | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/meta/packages/distcc/distcc_2.18.3.bb b/meta/packages/distcc/distcc_2.18.3.bb index 124f87fc7f..7f557c41d1 100644 --- a/meta/packages/distcc/distcc_2.18.3.bb +++ b/meta/packages/distcc/distcc_2.18.3.bb | |||
@@ -2,23 +2,34 @@ DESCRIPTION = "distcc is a parallel build system that distributes \ | |||
2 | compilation of C/C++/ObjC code across machines on a network." | 2 | compilation of C/C++/ObjC code across machines on a network." |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | DEPENDS = "avahi gtk+" | 7 | DEPENDS = "avahi gtk+" |
7 | RRECOMMENDS = "avahi-daemon" | 8 | RRECOMMENDS = "avahi-daemon" |
8 | 9 | ||
9 | SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \ | 10 | SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \ |
10 | http://0pointer.de/public/distcc-avahi.patch;patch=1" | 11 | http://0pointer.de/public/distcc-avahi.patch;patch=1 \ |
12 | file://default \ | ||
13 | file://distcc" | ||
11 | 14 | ||
12 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig update-rc.d |
16 | |||
17 | INITSCRIPT_NAME = "distcc" | ||
13 | 18 | ||
14 | EXTRA_OECONF = " --with-gtk " | 19 | EXTRA_OECONF = " --with-gtk " |
15 | 20 | ||
21 | do_install_append() { | ||
22 | install -d ${D}${sysconfdir}/init.d/ | ||
23 | install -d ${D}${sysconfdir}/default | ||
24 | install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ | ||
25 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc | ||
26 | } | ||
27 | |||
16 | PACKAGES += "distcc-distmon-gnome" | 28 | PACKAGES += "distcc-distmon-gnome" |
17 | 29 | ||
18 | FILES_${PN} = " ${bindir}/distcc \ | 30 | FILES_${PN} = " ${sysconfdir} \ |
31 | ${bindir}/distcc \ | ||
19 | ${bindir}/distccd \ | 32 | ${bindir}/distccd \ |
20 | ${bindir}/distccmon-text" | 33 | ${bindir}/distccmon-text" |
21 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 34 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
22 | ${datadir}/distcc" | 35 | ${datadir}/distcc" |
23 | |||
24 | |||