diff options
| author | Samuel John | 2013-03-31 20:51:43 +0200 |
|---|---|---|
| committer | Samuel John | 2013-03-31 20:54:25 +0200 |
| commit | 9495b06ef3f35be8711902ce268ccfc92cdcb056 (patch) | |
| tree | 8a155f95a7237eb8a424987ac7189a3accb50d2a /Library/Formula/triangle.rb | |
| parent | 65fe8946bf4915c6b0d6c6e64dfc205f10c43f3c (diff) | |
| download | homebrew-9495b06ef3f35be8711902ce268ccfc92cdcb056.tar.bz2 | |
Moved to homebrew/science Octave, OpenCV, VTK, ...
Diffstat (limited to 'Library/Formula/triangle.rb')
| -rw-r--r-- | Library/Formula/triangle.rb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Library/Formula/triangle.rb b/Library/Formula/triangle.rb deleted file mode 100644 index 3c9754d9c..000000000 --- a/Library/Formula/triangle.rb +++ /dev/null @@ -1,34 +0,0 @@ -require 'formula' - -class Triangle < Formula - homepage 'http://www.cs.cmu.edu/~quake/triangle.html' - url 'http://www.netlib.org/voronoi/triangle.zip' - sha1 '63d11e0b5bf097eb946a4da4ee18ddf279e16fc4' - version '1.6' - - depends_on :x11 - - def install - inreplace 'makefile' do |s| - s.gsub! '-DLINUX', '' - s.remove_make_var! 'CC' - end - - system 'make' - system 'make', 'trilibrary' - system 'ar', 'r', 'libtriangle.a', 'triangle.o' - - bin.install %w(triangle showme) - lib.install 'libtriangle.a' - include.install 'triangle.h' - doc.install %w(README A.poly tricall.c) - end - - def caveats; <<-EOS.undent - Triangle is distributed under a license that places restrictions on how - the code or library may be used in commercial products. See the README - file for more info: - #{prefix}/README - EOS - end -end |
