diff options
| author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-04-01 02:06:45 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-03-31 18:57:40 -0700 |
| commit | 10f72cb1f8a2874daa793ad25cdac46b7e99d698 (patch) | |
| tree | 00a6b4e301518f1c9e7b6a189ec82ea97d71bd8e /meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb | |
| parent | 28fe5881cf8963a11c6b7019ca8bb42fd029cf41 (diff) | |
| download | meta-openembedded-10f72cb1f8a2874daa793ad25cdac46b7e99d698.tar.gz | |
usb-modeswitch: upgrade 2.5.2 -> 2.6.0
-License-Update:
the followning message is added to COPYING file:
The files usb_modeswitch.c, usb_modeswitch.h, usb_modeswitch.sh and
usb_modeswitch_dispatcher.tcl are released under the conditions of
the GPL 2 (or any later GPL version of your choice).
The file dispatcher.c is released under the BSD-2-Clause
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb new file mode 100644 index 0000000000..baad340908 --- /dev/null +++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear" | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=091556bd6d0154cd4c2d17a1bfc7380a" | ||
| 4 | |||
| 5 | DEPENDS = "libusb1" | ||
| 6 | |||
| 7 | SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" | ||
| 8 | SRC_URI[md5sum] = "be73dcc84025794081a1d4d4e5a75e4c" | ||
| 9 | SRC_URI[sha256sum] = "c215236e6bada6e659fc195a31d611ea298a4bdb4d57a0d68c553b56585f8ba3" | ||
| 10 | |||
| 11 | inherit pkgconfig systemd | ||
| 12 | |||
| 13 | SYSTEMD_SERVICE_${PN} = "usb_modeswitch@.service" | ||
| 14 | |||
| 15 | EXTRA_OEMAKE = "TCL=${bindir}/tclsh" | ||
| 16 | |||
| 17 | FILES_${PN} = "${bindir} ${sysconfdir} ${nonarch_base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch" | ||
| 18 | RDEPENDS_${PN} = "tcl" | ||
| 19 | RRECOMMENDS_${PN} = "usb-modeswitch-data" | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | oe_runmake DESTDIR=${D} install | ||
| 23 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
| 24 | install -d ${D}/${systemd_unitdir}/system | ||
| 25 | install -m 644 ${S}/usb_modeswitch@.service ${D}/${systemd_unitdir}/system | ||
| 26 | fi | ||
| 27 | } | ||
