Skip to content

Commit

Permalink
Add protobuf 3 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Nov 12, 2016
1 parent 38b9aae commit 0391497
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions protobuf3/recipe.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Protobuf3 < FPM::Cookery::Recipe
description %(Protocol Buffers - Google's data interchange format)

name 'protoc3'
version '3.1.0'
revision '1'

source "https://github.com/google/protobuf/releases/download/v#{version}/protoc-#{version}-linux-x86_64.zip"
sha256 '7c98f9e8a3d77e49a072861b7a9b18ffb22c98e37d2a80650264661bfaad5b3a'

def build
end

def install
bin.install 'bin/protoc', 'protoc3'
chmod 0555, bin('protoc3')
end
end

0 comments on commit 0391497

Please sign in to comment.