summaryrefslogtreecommitdiff
path: root/repo/libpcap
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libpcap')
-rw-r--r--repo/libpcap/libpcap.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/libpcap/libpcap.xibuild b/repo/libpcap/libpcap.xibuild
new file mode 100644
index 0000000..27e56c5
--- /dev/null
+++ b/repo/libpcap/libpcap.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="libnl libusb"
+
+PKG_VER=1.10.1
+SOURCE=https://www.tcpdump.org/release/libpcap-$PKG_VER.tar.gz
+DESC="A library providing user level packet capture"
+
+build () {
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}