tetgen: modernize
This commit is contained in:
parent
c03eaea9c6
commit
c999a05a82
1 changed files with 6 additions and 6 deletions
|
@ -1,15 +1,15 @@
|
|||
require 'formula'
|
||||
require "formula"
|
||||
|
||||
class Tetgen < Formula
|
||||
homepage 'http://tetgen.org/'
|
||||
url 'http://tetgen.org/files/tetgen1.4.3.tar.gz'
|
||||
sha1 '16c6de93837a34c8661dd3bfcc8171591a93564a'
|
||||
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'
|
||||
bin.install "tetgen"
|
||||
lib.install "libtet.a"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue