package files for libuuid, needed for flux and taskwarrior packages, along with the taskwarrior packages
This commit is contained in:
parent
e64c0f4e4e
commit
eab3d4811e
16
var/spack/packages/libuuid/package.py
Normal file
16
var/spack/packages/libuuid/package.py
Normal file
@ -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")
|
20
var/spack/packages/task/package.py
Normal file
20
var/spack/packages/task/package.py
Normal file
@ -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")
|
20
var/spack/packages/taskd/package.py
Normal file
20
var/spack/packages/taskd/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user