homebrew-core/Formula/despotify.rb
Jack Nagel f6e44e42b4 despotify: add dep on mpg123
This dependency was introduced fairly recently, but this is a HEAD-only
formula so we were unaware of it.

Fixes Homebrew/homebrew#10052.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-08 14:11:34 -06:00

18 lines
449 B
Ruby

require 'formula'
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