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