summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/glog/package.py
blob: d73386b394b8311b6e9009baf1aa08ce51336eb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
from spack import *

class Glog(Package):
    """C++ implementation of the Google logging module."""

    homepage = "https://github.com/google/glog"
    url      = "https://github.com/google/glog/archive/v0.3.3.tar.gz"

    version('0.3.3', 'c1f86af27bd9c73186730aa957607ed0')

    def install(self, spec, prefix):
        configure("--prefix=" + prefix)
        make()
        make("install")