2011-10-19 18:12:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Vgmstream < Formula
|
2012-02-21 06:04:21 +00:00
|
|
|
homepage 'http://hcs64.com/vgmstream.html'
|
2011-10-19 18:12:41 +00:00
|
|
|
url 'https://vgmstream.svn.sourceforge.net/svnroot/vgmstream',
|
2013-01-20 21:43:14 +00:00
|
|
|
:using => UnsafeSubversionDownloadStrategy, :revision => 1007
|
|
|
|
version 'r1007'
|
2011-10-19 18:12:41 +00:00
|
|
|
|
|
|
|
depends_on 'mpg123'
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
cd "test" do
|
|
|
|
system "make"
|
|
|
|
bin.install "test" => "vgmstream"
|
|
|
|
lib.install "../src/libvgmstream.a"
|
|
|
|
end
|
2011-10-19 18:12:41 +00:00
|
|
|
end
|
|
|
|
end
|