From 53c7140bfe3317abeeaa85fc2f72cc8d9b052355 Mon Sep 17 00:00:00 2001
From: Paul Sherwood <paul.sherwood@codethink.co.uk>
Date: Wed, 19 Nov 2014 16:09:07 +0000
Subject: After morph-converter.sh

---
 strata/foundation/kmod.def | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 strata/foundation/kmod.def

(limited to 'strata/foundation/kmod.def')

diff --git a/strata/foundation/kmod.def b/strata/foundation/kmod.def
new file mode 100644
index 00000000..16785b62
--- /dev/null
+++ b/strata/foundation/kmod.def
@@ -0,0 +1,18 @@
+name: kmod
+configure-commands:
+- rm -rf libkmod/docs
+- sed -i -e'/SUBDIRS/{s/\S*doc\S*//;s/\S*man\S*//}' Makefile.am
+- sed -i -e'/AC_CONFIG_FILES(\[/,/])/{/docs/d}' configure.ac
+- autoreconf -fiv
+- ./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --without-xz
+  --with-zlib --disable-manpages
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" pkgconfigdir=/usr/lib/pkgconfig install
+- ln -s kmod "$DESTDIR"/bin/modprobe
+- ln -s kmod "$DESTDIR"/bin/lsmod
+- ln -s kmod "$DESTDIR"/bin/rmmod
+- ln -s kmod "$DESTDIR"/bin/insmod
+- ln -s kmod "$DESTDIR"/bin/modinfo
+- ln -s kmod "$DESTDIR"/bin/depmod
-- 
cgit v1.2.1

