pantry/projects/speex.org/package.yml
2023-10-01 20:41:57 -04:00

29 lines
535 B
YAML

distributable:
url: https://downloads.xiph.org/releases/speex/speex-1.2.1.tar.gz
strip-components: 1
versions:
url: https://ftp.osuosl.org/pub/xiph/releases/speex/
match: /speex-\d+\.\d+\.\d+.tar.gz/
strip:
- /^speex-/
- /\.tar\.gz$/
dependencies:
xiph.org/ogg: '*'
build:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
provides:
- bin/speexdec
test: cc test.c -lspeex -o test