require 'formula' class Libbs2b :build depends_on 'libsndfile' def install system "./configure", "--prefix=#{prefix}", "--disable-static", "--enable-shared" system "make install" end end