diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-05-11 10:35:42 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:41:31 +0100 |
| commit | 278f8e82d682e4ba03b183a751fb2df9c7be64ac (patch) | |
| tree | daa2c4d7f03c0ca7ca7e7b68a355e3d742b79a7a /meta/recipes-devtools/distcc/distcc_3.1.bb | |
| parent | 3a167e62901eef2ac95fac269d2b13d8fdf88c34 (diff) | |
| download | poky-278f8e82d682e4ba03b183a751fb2df9c7be64ac.tar.gz | |
distcc: Upgrade to 3.2
Helps compiling with clang as a side effect
(From OE-Core rev: d0666b30d5596a9300fdde19b1e2053957087c55)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/distcc/distcc_3.1.bb')
| -rw-r--r-- | meta/recipes-devtools/distcc/distcc_3.1.bb | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb b/meta/recipes-devtools/distcc/distcc_3.1.bb deleted file mode 100644 index f8879c87c5..0000000000 --- a/meta/recipes-devtools/distcc/distcc_3.1.bb +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | SUMMARY = "A parallel build system" | ||
| 2 | DESCRIPTION = "distcc is a parallel build system that distributes \ | ||
| 3 | compilation of C/C++/ObjC code across machines on a network." | ||
| 4 | SECTION = "devel" | ||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 7 | |||
| 8 | DEPENDS = "avahi" | ||
| 9 | |||
| 10 | GTKCONFIG = "gtk" | ||
| 11 | GTKCONFIG_libc-uclibc = "" | ||
| 12 | |||
| 13 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)} popt" | ||
| 14 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
| 15 | # use system popt by default | ||
| 16 | PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" | ||
| 17 | |||
| 18 | RRECOMMENDS_${PN} = "avahi-daemon" | ||
| 19 | |||
| 20 | SRC_URI = "git://github.com/distcc/distcc.git \ | ||
| 21 | file://separatebuilddir.patch \ | ||
| 22 | file://0001-zeroconf-Include-fcntl.h.patch \ | ||
| 23 | file://default \ | ||
| 24 | file://distccmon-gnome.desktop \ | ||
| 25 | file://distcc \ | ||
| 26 | file://distcc.service" | ||
| 27 | SRCREV = "9a172d3d20042754a30c0cd9a5d63fd1a8120c31" | ||
| 28 | S = "${WORKDIR}/git" | ||
| 29 | |||
| 30 | inherit autotools pkgconfig update-rc.d useradd systemd | ||
| 31 | |||
| 32 | EXTRA_OECONF += "--disable-Werror PYTHON=/dev/null" | ||
| 33 | |||
| 34 | USERADD_PACKAGES = "${PN}" | ||
| 35 | USERADD_PARAM_${PN} = "--system \ | ||
| 36 | --home /dev/null \ | ||
| 37 | --no-create-home \ | ||
| 38 | --gid nogroup \ | ||
| 39 | distcc" | ||
| 40 | |||
| 41 | INITSCRIPT_NAME = "distcc" | ||
| 42 | |||
| 43 | SYSTEMD_PACKAGES = "${PN}" | ||
| 44 | SYSTEMD_SERVICE_${PN} = "distcc.service" | ||
| 45 | |||
| 46 | do_install_append() { | ||
| 47 | install -d ${D}${sysconfdir}/init.d/ | ||
| 48 | install -d ${D}${sysconfdir}/default | ||
| 49 | install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ | ||
| 50 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc | ||
| 51 | install -d ${D}${systemd_unitdir}/system/ | ||
| 52 | install -m 0644 ${WORKDIR}/distcc.service ${D}${systemd_unitdir}/system | ||
| 53 | sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service | ||
| 54 | ${DESKTOPINSTALL} | ||
| 55 | } | ||
| 56 | DESKTOPINSTALL = "" | ||
| 57 | DESKTOPINSTALL_libc-glibc () { | ||
| 58 | install -d ${D}${datadir}/distcc/ | ||
| 59 | install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/ | ||
| 60 | } | ||
| 61 | PACKAGES += "distcc-distmon-gnome" | ||
| 62 | |||
| 63 | FILES_${PN} = " ${sysconfdir} \ | ||
| 64 | ${bindir}/distcc \ | ||
| 65 | ${bindir}/lsdistcc \ | ||
| 66 | ${bindir}/distccd \ | ||
| 67 | ${bindir}/distccmon-text \ | ||
| 68 | ${systemd_unitdir}/system/distcc.service" | ||
| 69 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | ||
| 70 | ${datadir}/distcc" | ||
| 71 | |||
| 72 | pkg_postrm_${PN} () { | ||
| 73 | deluser distcc || true | ||
| 74 | } | ||
