aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/despotify.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/despotify.rb b/Library/Formula/despotify.rb
new file mode 100644
index 000000000..454e8f348
--- /dev/null
+++ b/Library/Formula/despotify.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Despotify <Formula
+ head 'https://despotify.svn.sourceforge.net/svnroot/despotify/src'
+ homepage 'http://despotify.se/'
+
+ depends_on 'libao'
+ depends_on 'libvorbis'
+ depends_on 'pkg-config'
+
+ def install
+ system "make Makefile.local.mk"
+ inreplace "Makefile.local.mk",
+ "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}"
+ system "make"
+ system "make install"
+ end
+end