1DESCRIPTION = "Different utilities from Android - corresponding configuration files" 2SECTION = "console/utils" 3LICENSE = "MIT" 4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 6SRC_URI = "file://android-gadget-setup" 7 8S = "${WORKDIR}/sources" 9UNPACKDIR = "${S}" 10 11do_install() { 12 install -d ${D}${bindir} 13 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} 14} 15 16python () { 17 pn = d.getVar('PN') 18 profprov = d.getVar("PREFERRED_PROVIDER_" + pn) 19 if profprov and pn != profprov: 20 raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn)) 21} 22