summaryrefslogtreecommitdiff
path: root/chunks/lsof.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/lsof.morph')
-rw-r--r--chunks/lsof.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/chunks/lsof.morph b/chunks/lsof.morph
new file mode 100644
index 00000000..c65fcf6c
--- /dev/null
+++ b/chunks/lsof.morph
@@ -0,0 +1,14 @@
+name: lsof
+kind: chunk
+repo: upstream:lsof
+ref: fffb8558208586338587027c265fd0eca44466be
+configure-commands:
+- tar xf lsof_*_src.tar
+- cd lsof_*_src/ && ./Configure -n linux
+build-commands:
+- cd lsof_*_src/ && make
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/bin
+- mv lsof_*_src/lsof "$DESTDIR$PREFIX"/bin/lsof
+- mkdir -p "$DESTDIR$PREFIX"/man/man8
+- mv lsof_*_src/lsof.8 "$DESTDIR$PREFIX"/man/man8