+dog -- A command-line DNS client. (#3122)

* +dog -- A command-line DNS client.

* fix: openssl and pkg-config

* fix: openssl

* fix: openssl runtime dep
This commit is contained in:
Kevin Chen 2023-08-27 03:15:53 -04:00 committed by GitHub
parent 76cdbcba5f
commit ddc34d421b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
distributable:
url: https://github.com/ogham/dog/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/dog
versions:
github: ogham/dog
strip: /v/
dependencies:
openssl.org: ^1.1
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script: |
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(dog --version)" = "$OUTPUT"
env:
OUTPUT: "dog ● command-line DNS client\nv{{version}}\nhttps://dns.lookup.dog/"