2014-08-17 16:32:06 +00:00
|
|
|
require "formula"
|
2012-02-17 20:22:02 +00:00
|
|
|
|
|
|
|
class Gabedit < Formula
|
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"
|
|
|
|
sha1 "7a48f42c39258471faa0a3942890c16b6290de41"
|
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
|
|
|
|
end
|