Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

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 #34134.

Signed-off-by: Mike McQuaid <[email protected]>
  • Loading branch information
DomT4 authored and MikeMcQuaid committed Nov 13, 2014
1 parent f16e625 commit 6b9d60d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Library/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 6b9d60d

Please sign in to comment.