2012-02-17 20:22:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gabedit < Formula
|
|
|
|
homepage 'http://gabedit.sourceforge.net/'
|
|
|
|
url 'http://downloads.sourceforge.net/project/gabedit/gabedit/Gabedit240/GabeditSrc240.tar.gz'
|
|
|
|
version '2.4.0'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9c53590051da363f419a6b746594bf9f9aa92737'
|
2012-02-17 20:22:02 +00:00
|
|
|
|
2013-12-06 19:01:12 +00:00
|
|
|
devel do
|
|
|
|
url 'http://downloads.sourceforge.net/project/gabedit/GabeditDevloppment/Gabedit247/GabeditSrc247.tar.gz'
|
|
|
|
version '2.4.7'
|
|
|
|
sha1 'fce078aced941742dc01f37b08a0ab4a2df54741'
|
|
|
|
end
|
|
|
|
|
2012-02-17 20:22:02 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'gtkglext'
|
|
|
|
|
|
|
|
def install
|
2013-11-19 21:12:20 +00:00
|
|
|
args = []
|
|
|
|
args << "OMPLIB=" << "OMPCFLAGS=" if ENV.compiler == :clang
|
|
|
|
system 'make', *args
|
|
|
|
bin.install 'gabedit'
|
2012-02-17 20:22:02 +00:00
|
|
|
end
|
|
|
|
end
|