mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
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.
19 lines
453 B
Ruby
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 |