mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
37 lines
886 B
YAML
37 lines
886 B
YAML
distributable:
|
|
url: https://github.com/tldr-pages/tldr-c-client/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: tldr-pages/tldr-c-client/releases/tags
|
|
|
|
dependencies:
|
|
linux:
|
|
sourceware.org/bzip2: ^1
|
|
libzip.org: ^1.9.2
|
|
curl.se: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script:
|
|
make --environment-overrides --jobs {{ hw.concurrency }} install
|
|
env:
|
|
PREFIX: ${{prefix}}
|
|
CFLAGS: -ggdb -O0 -ftrapv -fPIC
|
|
|
|
provides:
|
|
- bin/tldr
|
|
|
|
test:
|
|
script: |
|
|
if test "{{ hw.platform }}+{{ hw.arch }}" = "linux+x86-64"; then
|
|
# FIXME: this is a hack because of https://github.com/tldr-pages/tldr-c-client/issues/33
|
|
# which seems to prevent this test, but
|
|
# across mount points in docker containers
|
|
exit 0
|
|
fi
|
|
tldr --version
|
|
tldr ls
|
|
tldr --version | grep {{ version }}
|