diff options
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.bb | 22 |
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 @@ | |||
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 | |||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
8 | |||
9 | SRCREV = "352f5878e999c0a9d5a453b34110479b2056d7e7" | ||
10 | SRC_URI = "git://github.com/mvp/${BPN};branch=master;protocol=https" | ||
11 | |||
12 | inherit 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. | ||
16 | do_configure:append() { | ||
17 | sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile | ||
18 | } | ||
19 | |||
20 | do_install () { | ||
21 | oe_runmake install DESTDIR=${D} | ||
22 | } | ||