2012-02-17 20:22:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gabedit < Formula
|
|
|
|
homepage 'http://gabedit.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/gabedit/gabedit/Gabedit240/GabeditSrc240.tar.gz'
|
2012-02-17 20:22:02 +00:00
|
|
|
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
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/gabedit/GabeditDevloppment/Gabedit247/GabeditSrc247.tar.gz'
|
2013-12-06 19:01:12 +00:00
|
|
|
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
|