Files
tigerbrew/Library/Formula/liblastfm.rb
T
Max Howell e91aeafc82 Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00

19 lines
453 B
Ruby

require 'brewkit'
class Liblastfm <Formula
@homepage='http://github.com/mxcl/liblastfm/'
@url='http://static.last.fm/src/liblastfm-0.3.0.tar.bz2'
@md5='3f73222ebc31635941832b01e7a494b6'
def deps
dep_test_bin 'qmake' or 'qt'
dep_test_lib 'fftw3f' or 'fftw'
dep_test_lib 'samplerate' or 'libsamplerate'
end
def install
system "./configure --release --prefix '#{prefix}'"
system "make"
system "make install"
end
end