pantry/projects/dns.lookup.dog/package.yml
Kevin Chen ddc34d421b
+dog -- A command-line DNS client. (#3122)
* +dog -- A command-line DNS client.

* fix: openssl and pkg-config

* fix: openssl

* fix: openssl runtime dep
2023-08-27 09:15:53 +02:00

28 lines
549 B
YAML

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/"