2010-05-02 20:12:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Despotify < Formula
|
2010-05-02 20:12:50 +00:00
|
|
|
head 'https://despotify.svn.sourceforge.net/svnroot/despotify/src'
|
|
|
|
homepage 'http://despotify.se/'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-05-02 20:12:50 +00:00
|
|
|
depends_on 'libao'
|
|
|
|
depends_on 'libvorbis'
|
2012-02-08 20:10:44 +00:00
|
|
|
depends_on 'mpg123'
|
2010-05-02 20:12:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make Makefile.local.mk"
|
2010-04-07 05:58:35 +00:00
|
|
|
inreplace "Makefile.local.mk", "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}"
|
2010-05-02 20:12:50 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|