pantry/projects/tsl0922.github.io/ttyd/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

28 lines
489 B
YAML

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
zlib.net: 1
versions:
github: tsl0922/ttyd
build:
dependencies:
cmake.org: 3
working-directory: build
script: |
cmake .. -DCMAKE_INSTALL_PREFIX="{{prefix}}"
make --jobs {{hw.concurrency}}
make install
#TODO test functionality
test:
ttyd --help
provides:
- bin/ttyd