summaryrefslogtreecommitdiff
path: root/var/spack/packages/fileutils/package.py
blob: 8ddd3d060bc6f97cec09b6b38fc8e594880e99d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
from spack import *

class Fileutils(Package):
    """FileUtils provides a suite of MPI-based tools to manage large files and datasets on parallel file systems."""

    homepage = "https://github.com/hpc/fileutils"
    url      = "https://github.com/hpc/fileutils/releases/download/v0.0.1-alpha.4/fileutils-0.0.1-alpha.4.tar.gz"

    versions = { '0.0.1-alpha.4' : 'a01dbe5a2e03f3c70c7a98ec0a2554e1' }

    force_url = True

    depends_on('mpi')
    depends_on('libcircle')
    depends_on('libarchive')
    depends_on('dtcmp')

    def install(self, spec, prefix):
        configure("--prefix=" + prefix,
                  "--with-libdtcmp=" + spec['dtcmp'].prefix)
        make()
        make("install")