summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory L. Lee <lee218@llnl.gov>2014-03-14 08:40:57 -0700
committerGregory L. Lee <lee218@llnl.gov>2014-03-14 08:42:08 -0700
commitb104c3efced60ce7bbe92b73c5be66f699e7d85f (patch)
tree9ecb042fd88c7807a45a831d50c8e4fc0eb0dd34 /lib
parent37d30f488694f265d2680464c9d8cb779bc4cb10 (diff)
downloadspack-b104c3efced60ce7bbe92b73c5be66f699e7d85f.tar.gz
spack-b104c3efced60ce7bbe92b73c5be66f699e7d85f.tar.bz2
spack-b104c3efced60ce7bbe92b73c5be66f699e7d85f.tar.xz
spack-b104c3efced60ce7bbe92b73c5be66f699e7d85f.zip
initial stat creation
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/packages/stat.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/spack/spack/packages/stat.py b/lib/spack/spack/packages/stat.py
new file mode 100644
index 0000000000..89ade201d3
--- /dev/null
+++ b/lib/spack/spack/packages/stat.py
@@ -0,0 +1,40 @@
+# FIXME:
+# This is a template package file for Spack. We've conveniently
+# put "FIXME" labels next to all the things you'll want to change.
+#
+# Once you've edited all the FIXME's, delete this whole message,
+# save this file, and test out your package like this:
+#
+# spack install v
+#
+# You can always get back here to change things with:
+#
+# spack edit v
+#
+# See the spack documentation for more information on building
+# packages.
+#
+from spack import *
+
+class Stat(Package):
+ """Library to create, manipulate, and export graphs Graphlib."""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.example.com"
+ url = "https://github.com/lee218llnl/stat/archive/v2.0.0.tar.gz"
+
+ versions = { '2.0.0' : 'c7494210b0ba26b577171b92838e1a9b', }
+
+ depends_on('libdwarf')
+ depends_on('dyninst')
+ depends_on('graphlib')
+ depends_on('mrnet')
+
+ def install(self, spec, prefix):
+ my_mrnet = spec['mrnet']
+
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--enable-gui", "--prefix=%s" %prefix, "--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312", "--with-mrnet=%s" %my_mrnet.prefix)
+
+ # FIXME: Add logic to build and install here
+ make(parallel=False)
+ make("install")