2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-06 07:59:40 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Orc < Formula
|
2009-10-06 07:59:40 +00:00
|
|
|
homepage 'http://code.entropywave.com/projects/orc/'
|
2011-11-17 13:06:21 +00:00
|
|
|
url 'http://code.entropywave.com/download/orc/orc-0.4.16.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b67131881e7834b0c820bfba468f668100fb2e91'
|
2009-10-06 07:59:40 +00:00
|
|
|
|
|
|
|
def install
|
2011-12-03 16:23:39 +00:00
|
|
|
# Fix compiling on 32 bit systems. See:
|
|
|
|
# https://trac.macports.org/ticket/26881
|
|
|
|
# https://github.com/mxcl/homebrew/issues/8848
|
|
|
|
ENV["CFLAGS"] = "-Xarch_i386 -O1" #if Hardware.is_32_bit?
|
|
|
|
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gtk-doc"
|
2009-10-06 07:59:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|