2013-04-16 20:43:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Caudec < Formula
|
|
|
|
homepage 'http://caudec.outpost.fr/'
|
|
|
|
url 'http://caudec.outpost.fr/downloads/caudec-1.6.4.tar.gz'
|
|
|
|
sha1 '4c4ad207e86c8f8bf15545bab1c434525cd79f7d'
|
|
|
|
|
|
|
|
depends_on 'gnu-sed'
|
|
|
|
depends_on 'shntool'
|
|
|
|
depends_on 'aacgain' => :optional
|
|
|
|
depends_on 'alac' => :optional
|
|
|
|
depends_on 'cksfv' => :optional
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'coreutils' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
depends_on 'eye-d3' => :optional
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'ffmpeg' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
depends_on 'flac' => :optional
|
|
|
|
depends_on 'flake' => :optional
|
|
|
|
depends_on 'lame' => :optional
|
|
|
|
depends_on 'mp3gain' => :optional
|
|
|
|
depends_on 'musepack' => :optional
|
|
|
|
depends_on 'opus' => :optional
|
|
|
|
depends_on 'sox' => :optional
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'vorbis-tools' => :optional
|
|
|
|
depends_on 'vorbisgain' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
depends_on 'wavpack' => :optional
|
|
|
|
depends_on 'wget' => :optional
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'caudec'
|
|
|
|
(bin/'decaude').make_symlink bin/'caudec'
|
|
|
|
etc.install 'caudecrc'
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
You can find an up-to-date caudecrc file in
|
|
|
|
#{HOMEBREW_PREFIX}/etc
|
|
|
|
|
|
|
|
Copy it to ~/.caudecrc ('.caudecrc' in your home directory),
|
|
|
|
or update your existing copy as needed.
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|