19 lines
422 B
Ruby
19 lines
422 B
Ruby
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
|