diff options
| author | Mike McQuaid | 2014-12-27 16:00:40 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 16:31:45 +0000 |
| commit | f23940af9c378296a7abdeed214b082c11482a10 (patch) | |
| tree | 36399bf409e96cea38393676dfe66ffa06ac30c4 /Library | |
| parent | 797b332a497115206eb1db221c386ec76fb35f4c (diff) | |
| download | homebrew-f23940af9c378296a7abdeed214b082c11482a10.tar.bz2 | |
geos: fix strict audit failures.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/geos.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/geos.rb b/Library/Formula/geos.rb index 6b1a57394..4d1df107b 100644 --- a/Library/Formula/geos.rb +++ b/Library/Formula/geos.rb @@ -1,9 +1,7 @@ -require 'formula' - class Geos < Formula - homepage 'http://trac.osgeo.org/geos' - url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2' - sha1 'b8aceab04dd09f4113864f2d12015231bb318e9a' + homepage "http://trac.osgeo.org/geos" + url "http://download.osgeo.org/geos/geos-3.4.2.tar.bz2" + sha1 "b8aceab04dd09f4113864f2d12015231bb318e9a" bottle do cellar :any @@ -23,6 +21,10 @@ class Geos < Formula ENV.cxx11 if build.cxx11? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/geos-config", "--libs" end end |
