summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc/distcc_3.3.2.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-08-23 16:11:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 18:02:23 +0100
commitd32da706eba6cec0130fb70faaf97c27984f33cf (patch)
treefacafe13f1b01aa1dc4c42eeb55208d4290f8624 /meta/recipes-devtools/distcc/distcc_3.3.2.bb
parent11f58843df60b516b30f25883463325ed689f760 (diff)
downloadpoky-d32da706eba6cec0130fb70faaf97c27984f33cf.tar.gz
distcc: 3.3 -> 3.3.2
(From OE-Core rev: 3e9fd6ebd1a22885688908d32bddf21ebafb4d30) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/distcc/distcc_3.3.2.bb')
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.3.2.bb71
1 files changed, 71 insertions, 0 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.3.2.bb b/meta/recipes-devtools/distcc/distcc_3.3.2.bb
new file mode 100644
index 0000000000..0d06963165
--- /dev/null
+++ b/meta/recipes-devtools/distcc/distcc_3.3.2.bb
@@ -0,0 +1,71 @@
1SUMMARY = "A parallel build system"
2DESCRIPTION = "distcc is a parallel build system that distributes \
3compilation of C/C++/ObjC code across machines on a network."
4SECTION = "devel"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "avahi binutils"
9
10PACKAGECONFIG ??= "popt"
11PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
12# use system popt by default
13PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
14
15RRECOMMENDS_${PN} = "avahi-daemon"
16
17SRC_URI = "git://github.com/distcc/distcc.git \
18 file://separatebuilddir.patch \
19 file://default \
20 file://distccmon-gnome.desktop \
21 file://distcc \
22 file://distcc.service"
23SRCREV = "8600f0857dac55ea393dc11a860948692d215fc8"
24S = "${WORKDIR}/git"
25
26inherit autotools pkgconfig update-rc.d useradd systemd
27
28ASNEEDED = ""
29
30EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
31
32USERADD_PACKAGES = "${PN}"
33USERADD_PARAM_${PN} = "--system \
34 --home /dev/null \
35 --no-create-home \
36 --gid nogroup \
37 distcc"
38
39INITSCRIPT_NAME = "distcc"
40
41SYSTEMD_PACKAGES = "${PN}"
42SYSTEMD_SERVICE_${PN} = "distcc.service"
43
44do_install() {
45 # Improve reproducibility: compress w/o timestamps
46 oe_runmake 'DESTDIR=${D}' "GZIP_BIN=gzip -n" install
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}
56DESKTOPINSTALL = ""
57DESKTOPINSTALL_libc-glibc () {
58 install -d ${D}${datadir}/distcc/
59 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
60}
61PACKAGES += "distcc-distmon-gnome"
62
63FILES_${PN} = " ${sysconfdir} \
64 ${bindir}/distcc \
65 ${bindir}/lsdistcc \
66 ${bindir}/distccd \
67 ${bindir}/distccmon-text \
68 ${sbindir}/update-distcc-symlinks \
69 ${systemd_unitdir}/system/distcc.service"
70FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
71 ${datadir}/distcc"