2007-03-28 10:36:07 +00:00
|
|
|
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
|
2010-12-10 08:41:24 +00:00
|
|
|
|
2007-03-28 10:36:07 +00:00
|
|
|
LICENSE = "GPL"
|
2010-12-10 23:22:20 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
2010-12-10 08:41:24 +00:00
|
|
|
|
2011-05-26 09:00:39 +00:00
|
|
|
COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)"
|
|
|
|
|
2011-05-17 23:03:02 +00:00
|
|
|
PR = "r21"
|
2007-03-28 10:36:07 +00:00
|
|
|
|
|
|
|
SRC_URI = "file://distcc.sh \
|
2008-01-22 13:47:08 +00:00
|
|
|
file://anjuta-remote-run \
|
2008-01-22 22:01:39 +00:00
|
|
|
file://exports \
|
2008-01-30 15:36:14 +00:00
|
|
|
file://shutdown.desktop \
|
2010-12-10 23:22:20 +00:00
|
|
|
file://qemu-autostart \
|
|
|
|
file://COPYING.GPL"
|
2007-03-28 10:36:07 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -d ${D}${sysconfdir}/profile.d
|
|
|
|
|
|
|
|
install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
|
2008-01-22 13:47:08 +00:00
|
|
|
install -m 0644 exports ${D}${sysconfdir}/
|
|
|
|
|
|
|
|
install -d ${D}${bindir}
|
|
|
|
install -m 0755 anjuta-remote-run ${D}${bindir}/
|
2008-01-22 22:01:39 +00:00
|
|
|
|
|
|
|
install -d ${D}${datadir}/applications
|
|
|
|
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
|
|
|
|
|
2008-01-23 17:00:31 +00:00
|
|
|
install -d ${D}/etc/init.d
|
2008-01-30 15:36:14 +00:00
|
|
|
install qemu-autostart ${D}/etc/init.d/
|
2008-01-23 17:00:31 +00:00
|
|
|
}
|
|
|
|
|
2011-05-26 09:00:39 +00:00
|
|
|
RDEPENDS_${PN} = "distcc dbus-x11 task-core-nfs-server oprofileui-server rsync bash"
|
|
|
|
|
2011-05-17 23:03:02 +00:00
|
|
|
inherit update-rc.d allarch
|
2008-01-23 17:00:31 +00:00
|
|
|
|
|
|
|
INITSCRIPT_NAME = "qemu-autostart"
|
|
|
|
INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."
|