2010-08-15 16:29:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Abcde < Formula
|
2010-08-15 16:29:18 +00:00
|
|
|
homepage 'https://code.google.com/p/abcde/'
|
2013-01-02 01:22:15 +00:00
|
|
|
url 'http://abcde.googlecode.com/files/abcde-2.5.4.tar.gz'
|
|
|
|
sha1 'eb0a933f869faf0013bc1382511936797506d108'
|
2010-08-15 16:29:18 +00:00
|
|
|
|
|
|
|
depends_on 'cd-discid'
|
|
|
|
depends_on 'cdrtools'
|
2013-06-13 17:46:07 +00:00
|
|
|
depends_on 'id3v2'
|
2011-03-04 23:13:57 +00:00
|
|
|
depends_on 'mkcue'
|
2013-06-13 17:46:07 +00:00
|
|
|
depends_on 'flac' => :optional
|
|
|
|
depends_on 'lame' => :optional
|
|
|
|
depends_on 'vorbis-tools' => :optional
|
2010-08-15 16:29:18 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-04 01:35:02 +00:00
|
|
|
bin.install 'abcde', 'abcde-musicbrainz-tool', 'cddb-tool'
|
2012-05-15 18:31:21 +00:00
|
|
|
etc.install 'abcde.conf' unless (etc/'abcde.conf').exist?
|
|
|
|
man1.install 'abcde.1', 'cddb-tool.1'
|
2010-08-15 16:29:18 +00:00
|
|
|
end
|
|
|
|
end
|