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>
This commit is contained in:
Andrew 2023-04-29 00:40:01 +03:00 committed by GitHub
parent f08e5e65e2
commit 887ee7c0b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
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}}