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>
This commit is contained in:
Stein Magnus Jodal 2010-05-02 22:12:50 +02:00 committed by Adam Vandenberg
parent 1133a63230
commit 8f88c70cf9

18
Formula/despotify.rb Normal file
View file

@ -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