17 lines
560 B
Ruby
17 lines
560 B
Ruby
|
require 'formula'
|
||
|
|
||
|
class Streamripper <Formula
|
||
|
url 'http://downloads.sourceforge.net/sourceforge/streamripper/streamripper-1.64.6.tar.gz'
|
||
|
homepage 'http://streamripper.sourceforge.net/'
|
||
|
md5 'a37a1a8b8f9228522196a122a1c2dd32'
|
||
|
|
||
|
depends_on 'glib'
|
||
|
|
||
|
def install
|
||
|
ENV.gcc_4_2 # strange runtime errors with llvm
|
||
|
File.chmod 0755, "./install-sh" # without this 'make install' doesn't seem to work (permission denied)
|
||
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||
|
system "make install"
|
||
|
end
|
||
|
end
|