2012-02-17 20:22:02 +00:00
|
|
|
class Gabedit < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "GUI to computational chemistry packages like Gamess-US, Gaussian, etc."
|
2014-08-17 16:32:06 +00:00
|
|
|
homepage "http://gabedit.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/gabedit/gabedit/Gabedit248/GabeditSrc248.tar.gz"
|
|
|
|
version "2.4.8"
|
2015-05-21 15:15:07 +00:00
|
|
|
sha256 "38d6437a18280387b46fd136f2201a73b33e45abde13fa802c64806b6b64e4d3"
|
|
|
|
revision 1
|
2012-02-17 20:22:02 +00:00
|
|
|
|
2014-08-17 16:32:06 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "gtk+"
|
|
|
|
depends_on "gtkglext"
|
2012-02-17 20:22:02 +00:00
|
|
|
|
|
|
|
def install
|
2013-11-19 21:12:20 +00:00
|
|
|
args = []
|
|
|
|
args << "OMPLIB=" << "OMPCFLAGS=" if ENV.compiler == :clang
|
2014-08-17 16:32:06 +00:00
|
|
|
system "make", *args
|
|
|
|
bin.install "gabedit"
|
2012-02-17 20:22:02 +00:00
|
|
|
end
|
2015-05-21 15:15:07 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
assert (bin/"gabedit").exist?
|
|
|
|
end
|
2012-02-17 20:22:02 +00:00
|
|
|
end
|