Skip to content

Commit

Permalink
s3-backer: openssl fix
Browse files Browse the repository at this point in the history
Adds an OpenSSL dependency to override using the depreciated system
version.

Closes Homebrew/legacy-homebrew#34134.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
DomT4 authored and MikeMcQuaid committed Nov 13, 2014
1 parent b41325f commit 0d4453a
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Formula/s3-backer.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
require 'formula'
require "formula"

class S3Backer < Formula
homepage 'http://code.google.com/p/s3backer/'
url 'https://s3backer.googlecode.com/files/s3backer-1.3.7.tar.gz'
sha1 'c75c7e70cb38bcac41d342a2bdb63e9505ab550a'
homepage "https://code.google.com/p/s3backer/"
url "https://s3backer.googlecode.com/files/s3backer-1.3.7.tar.gz"
sha1 "c75c7e70cb38bcac41d342a2bdb63e9505ab550a"
revision 1

depends_on 'pkg-config' => :build
depends_on "pkg-config" => :build
depends_on "openssl"
depends_on :osxfuse

def install
inreplace "configure", "-lfuse", "-losxfuse"
system "./configure", "--prefix=#{prefix}"
system "make install"
system "make", "install"
end

test do
system "#{bin}/s3backer", "--version"
end
end

0 comments on commit 0d4453a

Please sign in to comment.