uhubctl_2.3.0.bb 667 B

123456789101112131415161718192021
  1. SUMMARY = "USB hub per-port power control"
  2. HOMEPAGE = "https://github.com/mvp/uhubctl"
  3. BUGTRACKER = "https://github.com/mvp/uhubctl/issues"
  4. DEPENDS = "libusb1"
  5. LICENSE = "GPLv2"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  7. SRCREV = "1b52efddbd68b4395df3ac9cd10eeb984af22439"
  8. SRC_URI = "git://github.com/mvp/${BPN}"
  9. S = "${WORKDIR}/git"
  10. # uhubctl gets its program version from "git describe". As we use the source
  11. # archive do reduce download size replace the call with our hardcoded version.
  12. do_configure_append() {
  13. sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile
  14. }
  15. do_install () {
  16. oe_runmake install DESTDIR=${D}
  17. }