summaryrefslogtreecommitdiff
path: root/repo/system/libpcap.xibuild
diff options
context:
space:
mode:
authordavidovski <git@davidovski.xyz>2022-02-16 09:37:41 +0000
committerdavidovski <git@davidovski.xyz>2022-02-16 09:37:41 +0000
commit045734ceeb5b8e8c2cdaa9f62f89de57db07a6ec (patch)
tree208fb5ec9af934c1db1e3cf3c79b91cefd10516a /repo/system/libpcap.xibuild
parente964fd9b52aabdfff452068e486f34cb467fca71 (diff)
added nmap
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
+}