blob: fb60446cb29dc047f5ea793314238553d015c5f9 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "USB hub per-port power control"
2HOMEPAGE = "https://github.com/mvp/uhubctl"
3BUGTRACKER = "https://github.com/mvp/uhubctl/issues"
4DEPENDS = "libusb1"
5
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05009SRCREV = "5ee8260c71647f687b5e71af11f45244814835d7"
Brad Bishop26bdd442019-08-16 17:08:17 -040010SRC_URI = "git://github.com/mvp/${BPN}"
11S = "${WORKDIR}/git"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012
13# uhubctl gets its program version from "git describe". As we use the source
14# archive do reduce download size replace the call with our hardcoded version.
15do_configure_append() {
16 sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile
17}
18
19do_install () {
20 oe_runmake install DESTDIR=${D}
21}