2009-11-20 22:54:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Iodine < Formula
|
2009-11-20 22:54:44 +00:00
|
|
|
homepage 'http://code.kryo.se/iodine/'
|
2014-07-10 15:02:02 +00:00
|
|
|
url 'http://code.kryo.se/iodine/iodine-0.7.0.tar.gz'
|
|
|
|
sha1 'f4c49305b6f46a547b160b3bd8c962942d701a63'
|
2014-07-10 17:08:33 +00:00
|
|
|
|
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "01e0ab026e082803d4d1f04f90d6afe28b5baeb9" => :mavericks
|
|
|
|
sha1 "39e539f323810586316599e296120398afd55431" => :mountain_lion
|
|
|
|
sha1 "1afe02179eaa83f66382eaf296023c574e351f79" => :lion
|
|
|
|
end
|
|
|
|
|
2014-07-10 15:02:02 +00:00
|
|
|
depends_on 'tuntap'
|
2009-11-20 22:54:44 +00:00
|
|
|
|
2012-12-25 02:14:56 +00:00
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
2009-11-20 22:54:44 +00:00
|
|
|
end
|
2014-07-10 15:02:02 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{sbin}/iodine", "-v"
|
|
|
|
end
|
2009-11-20 22:54:44 +00:00
|
|
|
end
|