Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
1 parent
b41325f
commit 0d4453a
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |