homebrew-core/Formula/gabedit.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

25 lines
690 B
Ruby

require 'formula'
class Gabedit < Formula
homepage 'http://gabedit.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/gabedit/gabedit/Gabedit240/GabeditSrc240.tar.gz'
version '2.4.0'
sha1 '9c53590051da363f419a6b746594bf9f9aa92737'
devel do
url 'https://downloads.sourceforge.net/project/gabedit/GabeditDevloppment/Gabedit247/GabeditSrc247.tar.gz'
version '2.4.7'
sha1 'fce078aced941742dc01f37b08a0ab4a2df54741'
end
depends_on 'pkg-config' => :build
depends_on 'gtk+'
depends_on 'gtkglext'
def install
args = []
args << "OMPLIB=" << "OMPCFLAGS=" if ENV.compiler == :clang
system 'make', *args
bin.install 'gabedit'
end
end