2007-03-28 10:36:07 +00:00
|
|
|
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
|
|
|
|
LICENSE = "GPL"
|
2008-01-30 13:37:23 +00:00
|
|
|
RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server rsync bash"
|
2008-08-01 12:56:09 +00:00
|
|
|
PR = "r16"
|
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 \
|
|
|
|
file://poky-chroot-init \
|
|
|
|
file://poky-chroot-launch \
|
2008-01-23 17:00:31 +00:00
|
|
|
file://qemu-autostart"
|
2007-03-28 10:36:07 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
|
|
|
|
COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
|
|
|
|
PACKAGE_ARCH = "all"
|
|
|
|
|
|
|
|
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-30 15:36:14 +00:00
|
|
|
install -m 0775 poky-chroot-init ${D}${bindir}/
|
|
|
|
install -m 0775 poky-chroot-launch ${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
|
|
|
}
|
|
|
|
|
|
|
|
inherit update-rc.d
|
|
|
|
|
|
|
|
INITSCRIPT_NAME = "qemu-autostart"
|
|
|
|
INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."
|