2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-18 08:53:36 +00:00
|
|
|
|
|
|
|
class Libvorbis <Formula
|
2010-04-01 17:17:45 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.1.tar.bz2'
|
|
|
|
md5 '90b1eb86e6d57694ffdfc2e4d8c7a64e'
|
2009-12-13 01:36:07 +00:00
|
|
|
homepage 'http://vorbis.com'
|
2009-06-18 08:53:36 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'libogg'
|
2009-06-18 08:53:36 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-06-18 08:53:36 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2009-12-13 01:36:07 +00:00
|
|
|
end
|