aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNandor Kracser2009-12-25 22:31:55 +0100
committerAdam Vandenberg2010-01-30 18:33:11 -0800
commit924dd353dea9875fc002ac626104895d6cdc077e (patch)
tree921af9dfa04cdc30a86bcf75e168ec4d13949af3 /Library
parentbf54ea2cf5dd67a9b79ae9f0af754914f23d219c (diff)
downloadhomebrew-924dd353dea9875fc002ac626104895d6cdc077e.tar.bz2
Streamripper formula added.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/streamripper.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/streamripper.rb b/Library/Formula/streamripper.rb
new file mode 100644
index 000000000..0676c3be5
--- /dev/null
+++ b/Library/Formula/streamripper.rb
@@ -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