2013-09-24 17:44:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ori < Formula
|
|
|
|
homepage 'http://ori.scs.stanford.edu/'
|
2014-01-20 04:01:25 +00:00
|
|
|
url 'https://bitbucket.org/orifs/ori/downloads/ori-0.8.1.tgz'
|
|
|
|
sha1 '3ad31ab14bdb9305423f66cb919fdc445215f3c9'
|
2013-09-24 17:44:33 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'scons' => :build
|
|
|
|
depends_on 'boost'
|
2014-01-20 04:01:25 +00:00
|
|
|
depends_on 'osxfuse'
|
2013-09-24 17:44:33 +00:00
|
|
|
depends_on 'libevent'
|
|
|
|
depends_on 'openssl'
|
|
|
|
|
|
|
|
def install
|
2014-02-25 15:43:55 +00:00
|
|
|
scons "BUILDTYPE=RELEASE"
|
|
|
|
scons "install", "PREFIX=#{prefix}"
|
2013-09-24 17:44:33 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-09-24 17:44:33 +00:00
|
|
|
system "#{bin}/ori"
|
|
|
|
end
|
|
|
|
end
|