summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kmod.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/kmod.morph b/kmod.morph
new file mode 100644
index 0000000..346d237
--- /dev/null
+++ b/kmod.morph
@@ -0,0 +1,16 @@
+{
+ "name": "kmod",
+ "kind": "chunk",
+ "configure-commands": [
+ "rm -rf libkmod/docs",
+ "sed -i -e'/SUBDIRS/s/\\S*doc\\S*//' Makefile.am",
+ "sed -i -e'/AC_CONFIG_FILES(\\[/,/])/{/docs/d}' configure.ac",
+ "./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --with-xz --with-zlib"
+ ],
+ "build-commands": [
+ "make"
+ ],
+ "install-commands": [
+ "make DESTDIR=\"$DESTDIR\" install"
+ ]
+}