homebrew-core/Formula/tetgen.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

18 lines
399 B
Ruby

require 'formula'
class Tetgen < Formula
homepage 'http://tetgen.org/'
url 'http://tetgen.org/files/tetgen1.4.3.tar.gz'
sha1 '16c6de93837a34c8661dd3bfcc8171591a93564a'
def install
system "make" # build the tetgen binary
system "make tetlib" # build the library file libtet.a
bin.install 'tetgen'
lib.install 'libtet.a'
end
test do
system "#{bin}/tetgen"
end
end