pantry/projects/libusb.info/package.yml
Jacob Heider 5898cdcb9b fix(libusb)
closes #5076
2024-01-31 19:00:41 -05:00

22 lines
471 B
YAML

distributable:
url: https://github.com/libusb/libusb/releases/download/v{{ version }}/libusb-{{ version }}.tar.bz2
strip-components: 1
versions:
github: libusb/libusb
strip: '/^v/'
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/libtool: '*'
linux:
systemd.io: '*' # libudev
script:
- ./configure $ARGS
- make install
env:
ARGS:
- --prefix="{{prefix}}"
test: pkg-config --modversion libusb-1.0 | grep {{ version }}