summaryrefslogtreecommitdiff
path: root/libs/libpcap/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/libpcap/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/libpcap/MAKEPKG')
-rw-r--r--libs/libpcap/MAKEPKG36
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