2014-08-24 16:09:09 +00:00
|
|
|
require "formula"
|
2013-09-24 17:44:33 +00:00
|
|
|
|
|
|
|
class Ori < Formula
|
2014-08-24 16:09:09 +00:00
|
|
|
homepage "http://ori.scs.stanford.edu/"
|
|
|
|
url "https://bitbucket.org/orifs/ori/downloads/ori-0.8.1.tgz"
|
|
|
|
sha1 "3ad31ab14bdb9305423f66cb919fdc445215f3c9"
|
2014-08-22 14:08:15 +00:00
|
|
|
revision 1
|
2013-09-24 17:44:33 +00:00
|
|
|
|
2014-08-22 18:04:07 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-08-25 10:54:15 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "d2c83bbfdd11528b16ff74b933181ec32d8f37d2" => :mavericks
|
|
|
|
sha1 "cce9adc1c8c8f59be72ef65b4642fff74cbe8cb3" => :mountain_lion
|
|
|
|
sha1 "7cbe224571134ff554cb323ebc2ab13a8dd0cf4d" => :lion
|
2014-08-22 18:04:07 +00:00
|
|
|
end
|
|
|
|
|
2014-08-24 16:09:09 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "scons" => :build
|
|
|
|
depends_on "boost"
|
|
|
|
depends_on "osxfuse"
|
|
|
|
depends_on "libevent"
|
|
|
|
depends_on "openssl"
|
2013-09-24 17:44:33 +00:00
|
|
|
|
|
|
|
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
|