homebrew-core/Formula/gle.rb

26 lines
645 B
Ruby
Raw Normal View History

require 'formula'
2011-03-31 15:33:00 +00:00
class Gle < Formula
2012-02-22 04:48:36 +00:00
homepage 'http://glx.sourceforge.net/'
url 'http://downloads.sourceforge.net/glx/gle-graphics-4.2.4cf-src.tar.gz'
version '4.2.4c'
sha1 '5528528dfe54c74f69bfad174105d55a3dd90e49'
depends_on 'pkg-config' => :build
depends_on :x11
depends_on 'jpeg' => :optional
depends_on 'libtiff' => :optional
def install
system "./configure", "--prefix=#{prefix}",
"--with-arch=#{MacOS.preferred_arch}",
"--without-qt"
2012-02-22 04:48:36 +00:00
inreplace 'Makefile', "MKDIR_P", "mkdir -p"
system "make"
ENV.deparallelize
system "make install"
end
end