mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
32 lines
611 B
YAML
32 lines
611 B
YAML
distributable:
|
|
url: https://www.alsa-project.org/files/pub/lib/alsa-lib-{{version}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://www.alsa-project.org/files/pub/lib/
|
|
match: /alsa-lib-\d+\.\d+\.\d+\.tar\.bz2/
|
|
strip:
|
|
- /^alsa-lib-/
|
|
- /\.tar\.bz2$/
|
|
|
|
platforms:
|
|
- linux
|
|
|
|
build:
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --disable-silent-rules
|
|
|
|
provides:
|
|
- bin/aserver
|
|
|
|
test:
|
|
script:
|
|
- cc test.c -lasound -o test
|
|
- ./test
|