mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
29 lines
750 B
YAML
29 lines
750 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/opencore-amr/files/opencore-amr/
|
|
match: /opencore-amr-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^opencore-amr-/
|
|
- /.tar\.gz$/
|
|
|
|
build:
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-dependency-tracking
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script: |
|
|
pkg-config --modversion opencore-amrnb | grep {{ version }}
|
|
pkg-config --modversion opencore-amrwb | grep {{ version }}
|
|
cc test.c -lopencore-amrwb -o "test"
|
|
./test
|