gle 4.2.3b
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
13c50bcd8f
commit
e9da74cd6b
1 changed files with 27 additions and 0 deletions
27
Formula/gle.rb
Normal file
27
Formula/gle.rb
Normal file
|
@ -0,0 +1,27 @@
|
|||
require 'formula'
|
||||
|
||||
class Gle <Formula
|
||||
url 'http://downloads.sourceforge.net/glx/gle-graphics-4.2.3bf-src.tar.gz'
|
||||
version '4.2.3b'
|
||||
homepage 'http://glx.sourceforge.net/'
|
||||
md5 '5884a1cbf7a0fe5d3a18a235d10f64a8'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'jpeg' => :optional
|
||||
depends_on 'libtiff' => :optional
|
||||
|
||||
def install
|
||||
ENV.x11
|
||||
|
||||
arch = MacOS.prefer_64_bit? ? "x86_64" : "i386"
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--with-arch=#{arch}",
|
||||
"--without-qt"
|
||||
|
||||
inreplace 'Makefile',"MKDIR_P", "mkdir -p"
|
||||
|
||||
system "make"
|
||||
ENV.deparallelize
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue