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

27 lines
No EOL
610 B
YAML

distributable:
url: https://www.tcpdump.org/release/libpcap-{{version}}.tar.gz
strip-components: 1
versions:
url: https://www.tcpdump.org/release/
match: /libpcap-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /^libpcap-/
- /\.tar\.gz/
build:
dependencies:
gnu.org/make: '*'
gnu.org/bison: '*'
github.com/westes/flex: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --enable-ipv6
- --disable-universal
provides:
- bin/pcap-config
test:
script:
- pcap-config --version | grep {{version}}