pantry/projects/libusb.info/package.yml

23 lines
471 B
YAML
Raw Normal View History

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: '*'
2024-02-01 02:21:52 +03:00
linux:
systemd.io: '*' # libudev
script:
- ./configure $ARGS
- make install
env:
ARGS:
- --prefix="{{prefix}}"
2024-02-01 02:21:52 +03:00
test: pkg-config --modversion libusb-1.0 | grep {{ version }}