homebrew-core/Formula/despotify.rb

19 lines
449 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Despotify < Formula
head 'https://despotify.svn.sourceforge.net/svnroot/despotify/src'
homepage 'http://despotify.se/'
depends_on 'pkg-config' => :build
depends_on 'libao'
depends_on 'libvorbis'
depends_on 'mpg123'
def install
system "make Makefile.local.mk"
inreplace "Makefile.local.mk", "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}"
system "make"
system "make install"
end
end