summaryrefslogtreecommitdiff
path: root/elements/tools/lsof.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/tools/lsof.bst')
-rw-r--r--elements/tools/lsof.bst19
1 files changed, 19 insertions, 0 deletions
diff --git a/elements/tools/lsof.bst b/elements/tools/lsof.bst
new file mode 100644
index 00000000..d7e78830
--- /dev/null
+++ b/elements/tools/lsof.bst
@@ -0,0 +1,19 @@
+kind: manual
+depends:
+- core.bst
+sources:
+- kind: git
+ url: upstream:lsof
+ track: baserock/morph
+ ref: fffb8558208586338587027c265fd0eca44466be
+config:
+ configure-commands:
+ - tar xf lsof_*_src.tar --no-same-owner
+ - cd lsof_*_src/ && ./Configure -n linux
+ build-commands:
+ - cd lsof_*_src/ && make
+ install-commands:
+ - mkdir -p "%{install-root}%{prefix}"/bin
+ - mv lsof_*_src/lsof "%{install-root}%{prefix}"/bin/lsof
+ - mkdir -p "%{install-root}%{prefix}"/man/man8
+ - mv lsof_*_src/lsof.8 "%{install-root}%{prefix}"/man/man8