summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bedops/package.py
blob: 9e22dbbe1037241a03463b66dc9542c8f303c389 (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
24
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Bedops(MakefilePackage):
    """BEDOPS is an open-source command-line toolkit that performs highly
    efficient and scalable Boolean and other set operations, statistical
    calculations, archiving, conversion and other management of genomic data of
    arbitrary scale."""

    homepage = "https://bedops.readthedocs.io"
    url      = "https://github.com/bedops/bedops/archive/v2.4.30.tar.gz"

    version('2.4.35', 'b425b3e05fd4cd1024ef4dd8bf04b4e5')
    version('2.4.34', 'fc467d96134a0efe8b134e638af87a1a')
    version('2.4.30', '4e5d9f7b7e5432b28aef8d17a22cffab')

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        make('install', "BINDIR=%s" % prefix.bin)