pantry/projects/github.com/adah1972/libunibreak/package.yml
Andrew 887ee7c0b1
github.com/adah1972/libunibreak (#1730)
* new file:   projects/github.com/adah1972/libunibreak/package.yml

* github release versions

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-04-28 17:40:01 -04:00

26 lines
634 B
YAML

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}}