diff options
Diffstat (limited to 'libs/libpcap/MAKEPKG')
| -rw-r--r-- | libs/libpcap/MAKEPKG | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/libpcap/MAKEPKG b/libs/libpcap/MAKEPKG new file mode 100644 index 0000000..dc8536b --- /dev/null +++ b/libs/libpcap/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Portable packet capture library +# url: https://www.tcpdump.org + +name=libpcap +version=1.11.0 +release=1 +depends=() +source=(https://www.tcpdump.org/release/$name-$version.tar.xz) + +sha256sums=( + "9237f5bae9dcf3a91823d9963ec43b7c0e2e3374ef2ad57d92c8cd39530f4723" +) + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --enable-ipv6 \ + --without-libnl \ + --disable-dbus \ + --disable-bluetooth \ + --disable-usb \ + --disable-rdma + + make + make DESTDIR=$PKG install +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
