mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
tcpdump.org
This commit is contained in:
parent
13eda8e0be
commit
59fb64f849
1 changed files with 28 additions and 0 deletions
28
projects/tcpdump.org/package.yml
Normal file
28
projects/tcpdump.org/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
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:
|
||||
tea.xyz/gx/cc: c99
|
||||
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}}
|
Loading…
Reference in a new issue