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
|
|
|
url 'http://abcde.googlecode.com/files/abcde-2.4.2.tar.gz'
|
|
|
|
homepage 'https://code.google.com/p/abcde/'
|
|
|
|
md5 '2147527c245ed70af7b218b642201669'
|
|
|
|
|
|
|
|
depends_on 'lame' => :optional
|
|
|
|
depends_on 'vorbis-tools' => :optional
|
|
|
|
depends_on 'flac' => :optional
|
|
|
|
depends_on 'cd-discid'
|
|
|
|
depends_on 'id3v2'
|
|
|
|
depends_on 'cdrtools'
|
2011-03-04 23:13:57 +00:00
|
|
|
depends_on 'mkcue'
|
2010-08-15 16:29:18 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
bin.install 'abcde', 'cddb-tool'
|
|
|
|
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
|