7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
17 lines
416 B
Ruby
17 lines
416 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
|