blob: 040d47aea41543bb61a9d0fc120e24ed6d97452d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
require 'formula'
class VorbisTools < Formula
homepage 'http://vorbis.com'
url 'http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz'
sha1 'fc6a820bdb5ad6fcac074721fab5c3f96eaf6562'
depends_on 'libogg'
depends_on 'libvorbis'
depends_on 'libao'
depends_on 'flac' => :optional
def install
args = [
"--disable-debug",
"--disable-dependency-tracking",
"--disable-nls",
"--prefix=#{prefix}"
]
args << "--without-flac" unless build.with? 'flac'
system "./configure", *args
system "make install"
end
end
|