blob: 18e510037da528f6a40a5084e98db85246ee4737 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Qhull < Formula
url 'http://www.qhull.org/download/qhull-2010.1-src.tgz'
homepage 'http://www.qhull.org/'
md5 'e64138470acdeb18f752a0bc2a11ceb4'
def install
cd "./src"
ENV['MANDIR'] = man
ENV['BINDIR'] = bin
system "make -e -f Makefile"
man.mkpath
bin.mkpath
system "make -e -f Makefile install"
(include+'qhull').install Dir['*.h']
lib.install 'libqhull.a'
end
end
|