homebrew-core/Formula/libopennet.rb
2015-06-05 14:47:57 +01:00

23 lines
735 B
Ruby

require 'formula'
class Libopennet < Formula
desc "open_net(), similar to open()"
homepage 'http://www.rkeene.org/oss/libopennet'
url 'http://www.rkeene.org/files/oss/libopennet/libopennet-0.9.9.tar.gz'
sha1 'd15c698498401ec6036646eaf19914117d6f5c56'
bottle do
cellar :any
sha1 "63dac8f3ec1c97043aac3b46cf004bb5c70f688c" => :yosemite
sha1 "36361dd6ba28e2ed7e9aa7b5f9274998d83697a0" => :mavericks
sha1 "0f1653162c70f915023a63adc0f0e345d15d0a61" => :mountain_lion
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make install"
end
end