summaryrefslogtreecommitdiff
path: root/usb-utils/snapcraft.yaml
blob: 88d7023cdd057bc393e1f00eb0c6d2a4e5d8785c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: usb-utils
version: 8-1
summary: Linux USB utilities
description: |
  This package contains the lsusb utility for inspecting the devices
  connected to the USB bus. It shows a graphical representation of the
  devices that are currently plugged in, showing the topology of the USB bus.
  It also displays information on each individual device on the bus.
  Source code for this tools is available here:
  https://github.com/gregkh/usbutils
grade: devel
confinement: strict

apps:
  lsusb:
    command: bin/lsusb
    plugs:
      - raw-usb
      - network-bind
  usb-devices:
    command: bin/usb-devices
    plugs:
      - raw-usb

parts:
  usbutils:
    build-packages: [ pkg-config, libusb-1.0-0-dev ]
    plugin: autotools
    source: git://github.com/gregkh/usbutils
    source-commit: 6e43dc7e87b806349fc124023c27446b1f437073