2010-10-16 18:43:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Arss < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Analyze a sound file into a spectrogram"
|
2010-10-16 18:43:45 +00:00
|
|
|
homepage 'http://arss.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/arss/arss/0.2.3/arss-0.2.3-src.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'c78715dd9eeb9a5df594b09195256ac02a813313'
|
2010-10-16 18:43:45 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'fftw'
|
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
cd "src" do
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2010-10-16 18:43:45 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|