Skip to content

Commit

Permalink
Add recipe for snappy
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Nov 7, 2015
1 parent ad05afd commit 7aa96ec
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions snappy/recipe.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class Snappy < FPM::Cookery::Recipe
description 'compression/decompression library'

name 'snappy'
version '1.1.3'
revision '1'
homepage 'http://google.github.io/snappy/'
source "https://github.com/google/snappy/releases/download/#{version}/snappy-#{version}.tar.gz"
sha256 '2f1e82adf0868c9e26a5a7a3115111b6da7e432ddbac268a7ca2fae2a247eef3'

build_depends 'pkg-config', 'zlib1g-dev', 'liblzo2-dev'

def build
configure :prefix => prefix
make
end

def install
make :install, 'DESTDIR' => destdir
end
end

0 comments on commit 7aa96ec

Please sign in to comment.