mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+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:
parent
76cdbcba5f
commit
ddc34d421b
1 changed files with 27 additions and 0 deletions
27
projects/dns.lookup.dog/package.yml
Normal file
27
projects/dns.lookup.dog/package.yml
Normal 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/"
|
Loading…
Reference in a new issue