Closes Homebrew/homebrew#17621.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Ali Mashtizadeh 2013-09-24 10:44:33 -07:00 committed by Adam Vandenberg
parent 2d45c20d9a
commit a7e88db61e

23
Formula/ori.rb Normal file
View file

@ -0,0 +1,23 @@
require 'formula'
class Ori < Formula
homepage 'http://ori.scs.stanford.edu/'
url 'https://bitbucket.org/orifs/ori/downloads/ori-0.8.0.tgz'
sha1 'd8443b5792862c5250e60856702e1c7073047b7e'
depends_on 'pkg-config' => :build
depends_on 'scons' => :build
depends_on 'boost'
depends_on 'fuse4x'
depends_on 'libevent'
depends_on 'openssl'
def install
system "scons", "BUILDTYPE=RELEASE"
system "scons", "install", "PREFIX=#{prefix}"
end
def test
system "#{bin}/ori"
end
end