pantry/projects/tsl0922.github.io/ttyd/package.yml

31 lines
539 B
YAML
Raw Normal View History

2022-11-25 16:06:29 +03:00
distributable:
url: https://github.com/tsl0922/ttyd/archive/{{version}}.tar.gz
strip-components: 1
dependencies:
libuv.org: 1
github.com/json-c/json-c: ^0.16
libwebsockets.org: 4
2022-11-25 16:57:21 +03:00
zlib.net: 1
2022-11-25 16:06:29 +03:00
versions:
github: tsl0922/ttyd
build:
dependencies:
cmake.org: 3
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: 'c99'
working-directory: build
script: |
cmake .. -DCMAKE_INSTALL_PREFIX="{{prefix}}"
make --jobs {{hw.concurrency}}
make install
#TODO test functionality
test:
2022-12-05 22:10:34 +03:00
ttyd --help
provides:
- bin/ttyd