homebrew-core/Formula/caudec.rb

44 lines
1.2 KiB
Ruby
Raw Normal View History

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
depends_on 'coreutils' => :optional
depends_on 'eye-d3' => :optional
depends_on 'ffmpeg' => :optional
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
depends_on 'vorbis-tools' => :optional
depends_on 'vorbisgain' => :optional
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