From 7373d6f51fc587c1fd312020025a6fa5d740c46c Mon Sep 17 00:00:00 2001
From: Sam Thursfield <sam.thursfield@codethink.co.uk>
Date: Wed, 24 May 2017 16:33:10 +0100
Subject: Add the newly converted-to-BuildStream definitions

This is not a conversion of all systems, just a subset.
---
 elements/tools/lsof.bst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 elements/tools/lsof.bst

(limited to 'elements/tools/lsof.bst')

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
-- 
cgit v1.2.1

