summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Scogland <tscogland@llnl.gov>2015-06-09 14:13:00 -0700
committerThomas R. W. Scogland <scogland@llnl.gov>2015-06-09 19:26:49 -0700
commiteab3d4811e804719d9bff1bd2f6e59ee759b7164 (patch)
treecde271d35d9955acf2abf5f7e9b5d9a4e022bb79
parente64c0f4e4e269ed204614d276e83f5ef3f128b2e (diff)
downloadspack-eab3d4811e804719d9bff1bd2f6e59ee759b7164.tar.gz
spack-eab3d4811e804719d9bff1bd2f6e59ee759b7164.tar.bz2
spack-eab3d4811e804719d9bff1bd2f6e59ee759b7164.tar.xz
spack-eab3d4811e804719d9bff1bd2f6e59ee759b7164.zip
package files for libuuid, needed for flux and taskwarrior packages, along with the taskwarrior packages
-rw-r--r--var/spack/packages/libuuid/package.py16
-rw-r--r--var/spack/packages/task/package.py20
-rw-r--r--var/spack/packages/taskd/package.py20
3 files changed, 56 insertions, 0 deletions
diff --git a/var/spack/packages/libuuid/package.py b/var/spack/packages/libuuid/package.py
new file mode 100644
index 0000000000..373c5bfcac
--- /dev/null
+++ b/var/spack/packages/libuuid/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Libuuid(Package):
+ """Portable uuid C library"""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://sourceforge.net/projects/libuuid/"
+ url = "http://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flibuuid%2F&ts=1433881396&use_mirror=iweb"
+
+ version('1.0.3', 'd44d866d06286c08ba0846aba1086d68')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")
diff --git a/var/spack/packages/task/package.py b/var/spack/packages/task/package.py
new file mode 100644
index 0000000000..07f44cc45b
--- /dev/null
+++ b/var/spack/packages/task/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Task(Package):
+ """Feature-rich console based todo list manager"""
+ homepage = "http://www.taskwarrior.org"
+ url = "http://taskwarrior.org/download/task-2.4.4.tar.gz"
+
+ version('2.4.4', '517450c4a23a5842df3e9905b38801b3')
+
+ depends_on("gnutls")
+ depends_on("libuuid")
+ # depends_on("gcc@4.8:")
+
+ def install(self, spec, prefix):
+ with working_dir('spack-build', create=True):
+ cmake('-DCMAKE_BUILD_TYPE=release',
+ '..',
+ *std_cmake_args)
+ make()
+ make("install")
diff --git a/var/spack/packages/taskd/package.py b/var/spack/packages/taskd/package.py
new file mode 100644
index 0000000000..66bc0cb484
--- /dev/null
+++ b/var/spack/packages/taskd/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Taskd(Package):
+ """TaskWarrior task synchronization daemon"""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.taskwarrior.org"
+ url = "http://taskwarrior.org/download/taskd-1.1.0.tar.gz"
+
+ version('1.1.0', 'ac855828c16f199bdbc45fbc227388d0')
+
+ depends_on("libuuid")
+ depends_on("gnutls")
+
+ def install(self, spec, prefix):
+ with working_dir('spack-build', create=True):
+ cmake('-DCMAKE_BUILD_TYPE=release',
+ '..',
+ *std_cmake_args)
+ make()
+ make("install")