aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJiayong Ou2009-10-13 15:16:33 +0200
committerMax Howell2009-10-19 13:52:52 +0100
commitd0ae2921310b51e0a6754d19f589f18a089989a0 (patch)
treeadca3c2bfbd2a95c60aaa2a838910036da1b583e /Library/Formula
parent6de46700922f5b0d49a44ceaebba41f815f82a58 (diff)
downloadhomebrew-d0ae2921310b51e0a6754d19f589f18a089989a0.tar.bz2
shell.fm formula
shell-fm is a lightweight, console-based player for last.fm radio streams. Signed-off-by: Max Howell <max@methylblue.com> The h1 on the page is Shell.fm, everywhere else he calls it shell-fm. Thanks developer-guy. I switched the formula to .fm as that is more consitent with how you would write it if you heard it mentioned in a podcast etc.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/shell.fm.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/shell.fm.rb b/Library/Formula/shell.fm.rb
new file mode 100644
index 000000000..bf0d0ba82
--- /dev/null
+++ b/Library/Formula/shell.fm.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+#TODO aliases: shell-fm
+
+class ShellFm <Formula
+ url 'http://github.com/jkramer/shell-fm/tarball/v0.7'
+ version '0.7'
+ homepage 'http://nex.scrapping.cc/shell-fm/'
+ md5 '3f83866622a892ee89685f1ed079eefd'
+
+ # homepage says that libao is optional, but it doesn't seem
+ # to build without it…
+ depends_on 'libao'
+ depends_on 'mad'
+
+ def install
+ system "make"
+ bin.install 'source/shell-fm'
+ man1.install 'manual/shell-fm.1.gz'
+ end
+end