2011-04-24 15:40:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Fann < Formula
|
2012-04-01 16:58:48 +00:00
|
|
|
homepage 'http://leenissen.dk/fann/wp/'
|
|
|
|
url 'http://downloads.sourceforge.net/project/fann/fann/2.2.0/FANN-2.2.0-Source.tar.gz'
|
|
|
|
md5 'c9d6c8da5bb70276352a1718a668562c'
|
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
2011-04-24 15:40:28 +00:00
|
|
|
|
|
|
|
def install
|
2012-04-01 16:58:48 +00:00
|
|
|
system "cmake . #{std_cmake_parameters}"
|
2011-04-24 15:40:28 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|