7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
17 lines
No EOL
384 B
Ruby
17 lines
No EOL
384 B
Ruby
require 'formula'
|
|
|
|
class Liblastfm <Formula
|
|
homepage 'http://github.com/mxcl/liblastfm/'
|
|
url 'http://static.last.fm/src/liblastfm-0.3.0.tar.bz2'
|
|
md5 '3f73222ebc31635941832b01e7a494b6'
|
|
|
|
depends_on 'qt'
|
|
depends_on 'fftw'
|
|
depends_on 'libsamplerate'
|
|
|
|
def install
|
|
system "./configure", "--release", "--prefix", prefix
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end |