summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strata/foundation/kmod.morph5
1 files changed, 1 insertions, 4 deletions
diff --git a/strata/foundation/kmod.morph b/strata/foundation/kmod.morph
index d667c96c..364ca42e 100644
--- a/strata/foundation/kmod.morph
+++ b/strata/foundation/kmod.morph
@@ -1,14 +1,11 @@
name: kmod
kind: chunk
+build-system: autotools
configure-commands:
- |
./bootstrap-configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var \
--bindir="$PREFIX"/bin --libdir="$PREFIX"/lib \
--disable-manpages --enable-python
-build-commands:
-- make
-install-commands:
-- make DESTDIR="$DESTDIR" pkgconfigdir="$PREFIX"/lib/pkgconfig install
post-install-commands:
- ln -s kmod "$DESTDIR/$PREFIX"/bin/modprobe
- ln -s kmod "$DESTDIR/$PREFIX"/bin/lsmod