summaryrefslogtreecommitdiff
path: root/strata/networking-utils/libnet.morph
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-05-22 14:04:28 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-05-26 13:48:57 +0000
commitf7d732e7ff7ed58645a960ced9ccc159b09576f0 (patch)
treeb866eaded243758774de8eb8ee038a4c5f5d05e2 /strata/networking-utils/libnet.morph
parentb3f461c2c9e9868e6a7f25930a4afb1769192d25 (diff)
downloaddefinitions-baserock/tiagogomes/find-and-arping.tar.gz
Add `arping` to networking-utilsbaserock/tiagogomes/find-and-arping
Because `arping` requires the libpcap library, move tcpdump and libpcap to networking-utils. Add also `arping`'s libnet dependency. Change-Id: Ie459e5295bc2770856e06cb005845ee3f172e68e
Diffstat (limited to 'strata/networking-utils/libnet.morph')
-rw-r--r--strata/networking-utils/libnet.morph15
1 files changed, 15 insertions, 0 deletions
diff --git a/strata/networking-utils/libnet.morph b/strata/networking-utils/libnet.morph
new file mode 100644
index 00000000..c4f2b213
--- /dev/null
+++ b/strata/networking-utils/libnet.morph
@@ -0,0 +1,15 @@
+name: libnet
+kind: chunk
+build-system: manual
+pre-configure-commands:
+# Avoid building the docs as they require doxygen
+- sed -i 's@doc @@' libnet/Makefile.am
+- sed -i 's@doc/.*Makefile@@' libnet/configure.ac
+
+- cd libnet && ./autogen.sh
+configure-commands:
+- cd libnet && ./configure --prefix="$PREFIX" --disable-samples --enable-shared=yes --with-pic
+build-commands:
+- cd libnet && make
+install-commands:
+- cd libnet && make DESTDIR="$DESTDIR" install