2011-10-19 18:12:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Vgmstream < Formula
|
|
|
|
url 'https://vgmstream.svn.sourceforge.net/svnroot/vgmstream',
|
2012-01-08 18:15:15 +00:00
|
|
|
:using => UnsafeSubversionDownloadStrategy, :revision => 970
|
2011-10-19 18:12:41 +00:00
|
|
|
homepage 'http://hcs64.com/vgmstream.html'
|
2012-01-08 18:15:15 +00:00
|
|
|
version 'r970'
|
2011-10-19 18:12:41 +00:00
|
|
|
|
|
|
|
depends_on 'mpg123'
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
|
|
|
|
def install
|
|
|
|
Dir.chdir "test"
|
|
|
|
system "make"
|
|
|
|
bin.install "test" => "vgmstream"
|
|
|
|
lib.install "../src/libvgmstream.a"
|
|
|
|
end
|
|
|
|
end
|