DESCRIPTION = "The freesmartphone.org Framework Daemon" HOMEPAGE = "http://www.freesmartphone.org" AUTHOR = "Michael 'Mickey' Lauer et. al." SECTION = "console/network" DEPENDS = "python-cython-native python-pyrex-native" LICENSE = "GPL" PV = "0.8.3+${PR}-gitr${SRCREV}" PR = "r0" inherit distutils update-rc.d INITSCRIPT_NAME = "frameworkd" INITSCRIPT_PARAMS = "defaults 29" SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ file://frameworkd \ file://frameworkd.conf" S = "${WORKDIR}/git" do_install_append() { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/frameworkd ${D}${sysconfdir}/init.d/ install -m 0644 ${WORKDIR}/frameworkd.conf ${D}${sysconfdir} } RDEPENDS_${PN} += "\ python-dbus \ python-datetime \ python-pygobject \ python-pyrtc \ python-pyserial \ python-pyyaml \ python-shell \ python-subprocess \ python-syslog \ \ ${PN}-config \ " RRECOMMENDS_${PN} += "\ alsa-utils-amixer \ ppp \ " # recommend MUXer on platforms that require one RRECOMMENDS_${PN}_append_om-gta01 = "gsm0710muxd" RRECOMMENDS_${PN}_append_om-gta02 = "gsm0710muxd" PACKAGES =+ "${PN}-config" PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}" FILES_${PN}-config = "${sysconfdir}/frameworkd.conf" CONFFILES_${PN}-config = "${sysconfdir}/frameworkd.conf" PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}" FILES_${PN} += "${sysconfdir}/dbus-1 ${sysconfdir}/freesmartphone ${sysconfdir}/init.d ${datadir}" FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/framework/subsystems/*/.debug"