Permalink
Browse files

s3-backer: openssl fix

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 12, 2014
1 parent b41325f commit 0d4453a91923e6118983961e18d0609e9828a1a4
Showing with 12 additions and 6 deletions.
  1. +12 −6 Formula/s3-backer.rb
@@ -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.