summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb')
-rw-r--r--meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb b/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb
new file mode 100644
index 0000000000..f4c2eaa63f
--- /dev/null
+++ b/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb
@@ -0,0 +1,22 @@
1SUMMARY = "USB hub per-port power control"
2HOMEPAGE = "https://github.com/mvp/uhubctl"
3BUGTRACKER = "https://github.com/mvp/uhubctl/issues"
4DEPENDS = "libusb1"
5
6LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8
9SRCREV = "352f5878e999c0a9d5a453b34110479b2056d7e7"
10SRC_URI = "git://github.com/mvp/${BPN};branch=master;protocol=https"
11
12inherit pkgconfig
13
14# uhubctl gets its program version from "git describe". As we use the source
15# archive do reduce download size replace the call with our hardcoded version.
16do_configure:append() {
17 sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile
18}
19
20do_install () {
21 oe_runmake install DESTDIR=${D}
22}