homebrew-core/Formula/fluid-synth.rb

20 lines
532 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class FluidSynth < Formula
homepage 'http://www.fluidsynth.org'
url 'http://downloads.sourceforge.net/project/fluidsynth/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz'
sha1 '155de731e72e91e1d4b7f52c33d8171596fbf244'
depends_on 'pkg-config' => :build
depends_on 'cmake' => :build
depends_on 'glib'
depends_on 'libsndfile' => :optional
def install
mkdir 'build' do
system "cmake", "..", "-Denable-framework=OFF", "-DLIB_SUFFIX=", *std_cmake_args
system "make install"
end
end
end