Skip to content

Instantly share code, notes, and snippets.

@parthitce
Last active 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/046e97c03b3a0337bc3f6a6b5b9a7ffd to your computer and use it in GitHub Desktop.
Save parthitce/046e97c03b3a0337bc3f6a6b5b9a7ffd to your computer and use it in GitHub Desktop.
bitbake recipe for uhubctl utility (vesion 2.0.0-19)
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 = "6e05aee30e348ae2fd13ce8bfaa10f4f7d45d66f"
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