Streamripper formula added.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Nandor Kracser 2009-12-25 22:31:55 +01:00 committed by Adam Vandenberg
parent 653326ab88
commit 9c592713ec
1 changed files with 16 additions and 0 deletions

16
Formula/streamripper.rb Normal file
View File

@ -0,0 +1,16 @@
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