2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class Liblastfm <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://github.com/mxcl/liblastfm/'
|
|
|
|
url 'http://static.last.fm/src/liblastfm-0.3.0.tar.bz2'
|
|
|
|
md5 '3f73222ebc31635941832b01e7a494b6'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'qt'
|
|
|
|
depends_on 'fftw'
|
2010-02-24 15:10:06 +00:00
|
|
|
depends_on 'libsamplerate'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--release", "--prefix", prefix
|
2009-06-04 18:21:19 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|