aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorGijs Molenaar2014-05-02 22:07:28 +0200
committerJack Nagel2014-05-04 13:46:41 -0500
commit42e59ff5aa437d1bff5112c401c9190f1525afdb (patch)
treee00017512655a3bf76ae5a5c259c3f9bc4c329dc /Library/Formula
parent9c356d871e17e8a1fe3db48922ecd327de3b99e3 (diff)
downloadhomebrew-42e59ff5aa437d1bff5112c401c9190f1525afdb.tar.bz2
snap7 1.2.1
Closes #28921.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/snap7.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/snap7.rb b/Library/Formula/snap7.rb
index 8df718981..737e0f66f 100644
--- a/Library/Formula/snap7.rb
+++ b/Library/Formula/snap7.rb
@@ -2,24 +2,15 @@ require "formula"
class Snap7 < Formula
homepage "http://snap7.sourceforge.net/"
- url "https://downloads.sourceforge.net/project/snap7/1.2.0/snap7-full-1.2.0.tar.gz"
- sha1 "49e64997345dfcbb68cecee3e0bc098d96a96407"
-
- bottle do
- cellar :any
- sha1 "530697d2704479af33cbbe51daf5d822206babf4" => :mavericks
- sha1 "e6d0c563e699f217a9a4a4265fd67c678e51da62" => :mountain_lion
- sha1 "71df6080c160980de7697395756802765c5cd3bd" => :lion
- end
+ url "https://downloads.sourceforge.net/project/snap7/1.2.1/snap7-full-1.2.1.tar.gz"
+ sha1 "1e661fea17c26586599c11a1a840f4ac013060b6"
def install
archstr = MacOS.prefer_64_bit? ? "x86_64" : "i386"
lib.mkpath
- inreplace "build/osx/common.mk", "libsnap7.so", "libsnap7.dylib"
- inreplace "build/osx/common.mk", "/usr/lib", lib
Dir.chdir "build/osx" do
- system "make", "-f", "#{archstr}_osx.mk", "install"
+ system "make", "-f", "#{archstr}_osx.mk", "install", "LibInstall=#{lib}"
end
include.install "release/Wrappers/c-cpp/snap7.h"