aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStein Magnus Jodal2010-05-02 22:12:50 +0200
committerAdam Vandenberg2010-05-05 13:51:18 -0700
commitc568bfa0dd85a7b8a2a9c6bb602a73c0e146a4e1 (patch)
tree505fca8e44aeef13b983ae40f0dca853ba2e4ccf
parent86dc227a8bcc1599476808f0d67dfb99e9662f40 (diff)
downloadhomebrew-c568bfa0dd85a7b8a2a9c6bb602a73c0e146a4e1.tar.bz2
New formula: Despotify
Despotify is an open source Spotify client and library. This formula is pulling from Subversion HEAD as no releases are available, and they often need to make small changes when the Spotify service changes. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-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