mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
libusb.info (#1640)
* new file: projects/libusb.info/package.yml * Update package.yml --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
89bf572ac3
commit
5020132c27
1 changed files with 26 additions and 0 deletions
26
projects/libusb.info/package.yml
Normal file
26
projects/libusb.info/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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: '*'
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
|
||||||
|
test:
|
||||||
|
dependencies:
|
||||||
|
freedesktop.org/pkg-config: '*'
|
||||||
|
script:
|
||||||
|
pkg-config --modversion libusb-1.0 | grep {{ version }}
|
Loading…
Reference in a new issue