Skip to content

Commit

Permalink
add snappy package
Browse files Browse the repository at this point in the history
  • Loading branch information
adammoody committed Sep 21, 2015
1 parent c5c9ada commit 30acc6f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions var/spack/packages/snappy/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import os
from spack import *

class Snappy(Package):
"""A fast compressor/decompressor: https://code.google.com/p/snappy"""

homepage = "https://code.google.com/p/snappy"
url = "https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz"

version('1.1.3', '7358c82f133dc77798e4c2062a749b73')

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

0 comments on commit 30acc6f

Please sign in to comment.