summaryrefslogtreecommitdiff
path: root/strata/networking-utils/libnet.morph
diff options
context:
space:
mode:
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