2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class Libsamplerate <Formula
|
2009-12-20 07:04:02 +00:00
|
|
|
homepage 'http://www.mega-nerd.com/SRC'
|
|
|
|
url 'http://www.mega-nerd.com/SRC/libsamplerate-0.1.7.tar.gz'
|
2010-10-21 03:25:21 +00:00
|
|
|
md5 '6731a81cb0c622c483b28c0d7f90867d'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libsndfile' => :optional
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
2009-12-20 07:04:02 +00:00
|
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}"
|
2009-06-04 18:21:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|