aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/despotify.rb
blob: 454e8f348171147c4c6ee582c74c406891f5371f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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