pantry/projects/github.com/adah1972/libunibreak/package.yml

26 lines
634 B
YAML
Raw Normal View History

distributable:
url: https://github.com/adah1972/libunibreak/releases/download/libunibreak_{{version.major}}_{{version.minor}}/libunibreak-{{version.marketing}}.tar.gz
strip-components: 1
versions:
github: adah1972/libunibreak/releases
strip: /^libunibreak /
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-silent-rules
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libunibreak | grep {{version.marketing}}