Commit 8ba95071 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1014 from jam7/update/protobuf

Change protobuf.rb to install files through CREW_DEST_DIR
parents a75b5877 22fbdb92
......@@ -3,7 +3,7 @@ require 'package'
class Protobuf < Package
description 'Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.'
homepage 'https://developers.google.com/protocol-buffers/'
version '3.3.0'
version '3.3.0-1'
source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz'
source_sha256 '94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e'
......@@ -12,12 +12,15 @@ class Protobuf < Package
def self.build
system './autogen.sh'
system './configure --prefix=/usr/local'
system "./configure --prefix=/usr/local --libdir=#{CREW_LIB_PREFIX}"
system 'make'
system 'make check'
end
def self.install
system 'make install'
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
def self.check
system 'make check'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment