Skip to content

Instantly share code, notes, and snippets.

@parthitce
Created September 19, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parthitce/2aaf71b5e16940ed80dc2ca30839a671 to your computer and use it in GitHub Desktop.
Save parthitce/2aaf71b5e16940ed80dc2ca30839a671 to your computer and use it in GitHub Desktop.
bitbake recipe for uhubctl utility (git version)
DESCRIPTION = "uhubctl - USB hub per-port power control"
HOMEPAGE = "https://github.com/mvp/uhubctl"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE;md5=7a7d8e0fdffe495ff61f52ceee61b2f7"
DEPENDS = "libusb1"
RDEPENDS_${PN} = "libusb1"
SRC_URI = "git://github.com/mvp/uhubctl.git"
SRCREV = "${AUTOREV}"
PV = "git"
S = "${WORKDIR}/git"
do_install_append () {
install -d ${D}${bindir}
install -Dm 0755 ${S}/uhubctl ${D}${bindir}/
}
FILES_${PN} += "${bindir}/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment