diff options
author | Koen Kooi <koen@openembedded.org> | 2007-05-09 14:18:26 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-05-09 14:18:26 +0000 |
commit | 76e9efde94bdfb9954c29db7876f79f2d817ede5 (patch) | |
tree | 54e250147a4fa049d13a9f8b5679e7d1cc6cb34a /packages/distcc/distcc_2.18.3.bb | |
parent | 1cdc9cd2ae85ac5430c8871dccc3222b7f629446 (diff) |
distcc: merge with Poky
* ALLOWED_NETS allows the default usbnet network
Diffstat (limited to 'packages/distcc/distcc_2.18.3.bb')
-rw-r--r-- | packages/distcc/distcc_2.18.3.bb | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/packages/distcc/distcc_2.18.3.bb b/packages/distcc/distcc_2.18.3.bb index 124f87fc7f..7f557c41d1 100644 --- a/packages/distcc/distcc_2.18.3.bb +++ b/packages/distcc/distcc_2.18.3.bb @@ -2,23 +2,34 @@ DESCRIPTION = "distcc is a parallel build system that distributes \ compilation of C/C++/ObjC code across machines on a network." SECTION = "devel" LICENSE = "GPLv2" +PR = "r1" DEPENDS = "avahi gtk+" RRECOMMENDS = "avahi-daemon" SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \ - http://0pointer.de/public/distcc-avahi.patch;patch=1" + http://0pointer.de/public/distcc-avahi.patch;patch=1 \ + file://default \ + file://distcc" -inherit autotools pkgconfig +inherit autotools pkgconfig update-rc.d + +INITSCRIPT_NAME = "distcc" EXTRA_OECONF = " --with-gtk " +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -d ${D}${sysconfdir}/default + install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc +} + PACKAGES += "distcc-distmon-gnome" -FILES_${PN} = " ${bindir}/distcc \ +FILES_${PN} = " ${sysconfdir} \ + ${bindir}/distcc \ ${bindir}/distccd \ ${bindir}/distccmon-text" FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ ${datadir}/distcc" - - |