pantry/projects/thekelleys.org.uk/dnsmasq/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

23 lines
416 B
YAML

distributable:
url: https://thekelleys.org.uk/dnsmasq/dnsmasq-{{version.raw}}.tar.gz
strip-components: 1
versions:
url: https://thekelleys.org.uk/dnsmasq/
match: /dnsmasq-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /dnsmasq-/
- /.tar.gz/
provides:
- sbin/dnsmasq
build:
script: |
make install PREFIX="{{ prefix }}"
dependencies:
freedesktop.org/pkg-config: '*'
test: |
dnsmasq --test