New, cleaner package repository structure.
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
This commit is contained in:
20
var/spack/repos/builtin/packages/taskd/package.py
Normal file
20
var/spack/repos/builtin/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")
|
Reference in New Issue
Block a user