require cornucopia.inc inherit fso-plugin DEPENDS += "alsa-lib libcanberra libfsoresource" RDEPENDS += "libcanberra-alsa" RRECOMMENDS += "fso-alsa-data" PV = "0.9.0+gitr${SRCREV}" PE = "1" PR = "${INC_PR}.9" EXTRA_OECONF = "\ --enable-kernel26-rfkill \ --enable-player-canberra \ " inherit update-rc.d INITSCRIPT_NAME = "fsodeviced" INITSCRIPT_PARAMS = "defaults 27" SRC_URI += "file://fsodeviced file://fsodeviced.conf" do_install_append() { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/fsodeviced ${D}${sysconfdir}/init.d/ install -d ${D}${sysconfdir}/freesmartphone/ install -m 0644 ${WORKDIR}/fsodeviced.conf ${D}${sysconfdir}/freesmartphone/ } FILES_${PN} += "${sysconfdir}/init.d/fsodeviced ${sysconfdir}/freesmartphone/fsodeviced.conf" CONFFILES_${PN} += "${sysconfdir}/freesmartphone/fsodeviced.conf"