2010-02-02 12:16:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class FluidSynth < Formula
|
2012-03-17 18:45:48 +00:00
|
|
|
homepage 'http://www.fluidsynth.org'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/fluidsynth/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz'
|
2012-11-12 21:00:32 +00:00
|
|
|
sha1 '155de731e72e91e1d4b7f52c33d8171596fbf244'
|
2010-02-02 12:16:01 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-02-15 07:16:25 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-02-02 12:16:01 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libsndfile' => :optional
|
|
|
|
|
|
|
|
def install
|
2012-02-25 05:47:09 +00:00
|
|
|
mkdir 'build' do
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", "..", "-Denable-framework=OFF", "-DLIB_SUFFIX=", *std_cmake_args
|
2012-02-25 05:47:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-02-02 12:16:01 +00:00
|
|
|
end
|
|
|
|
end
|