summaryrefslogtreecommitdiff
path: root/repo/system/libpcap
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libpcap')
-rw-r--r--repo/system/libpcap/libpcap.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/system/libpcap/libpcap.xibuild b/repo/system/libpcap/libpcap.xibuild
new file mode 100644
index 0000000..27e56c5
--- /dev/null
+++ b/repo/system/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
+}