summaryrefslogtreecommitdiff
path: root/var/spack/packages/mrnet/package.py
blob: 89eeaf1e7145852bd6105ac7d6d0505ca7ef81e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from spack import *

class Mrnet(Package):
    """The MRNet Multi-Cast Reduction Network."""
    homepage = "http://paradyn.org/mrnet"
    url      = "ftp://ftp.cs.wisc.edu/paradyn/mrnet/mrnet_4.0.0.tar.gz"

    versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', }
    versions = { '4.1.0' : '5a248298b395b329e2371bf25366115c', }
    parallel = False

    depends_on("boost")

    def install(self, spec, prefix):
        configure("--prefix=%s" %prefix, "--enable-shared")

        make()
        make("install")