2011-03-10 05:11:03 +00:00
|
|
|
class Abcde < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Better CD Encoder"
|
2015-01-01 20:11:22 +00:00
|
|
|
homepage "http://abcde.einval.com"
|
2015-08-06 04:59:18 +00:00
|
|
|
url "http://abcde.einval.com/download/abcde-2.7.tar.gz"
|
|
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/a/abcde/abcde_2.7.orig.tar.gz"
|
|
|
|
sha256 "0148698a09fedcbae37ee9da295afe411a1190cf8ae224b7814d31b5bf737746"
|
2015-01-01 20:11:22 +00:00
|
|
|
head "http://git.einval.com/git/abcde.git"
|
2010-08-15 16:29:18 +00:00
|
|
|
|
2014-11-03 20:58:14 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "fb1aa6a4cb064c1b6d26ab87f7b7eb1a61388963" => :yosemite
|
|
|
|
sha1 "4fd607f7adef90f95d47dae5e1ae43bdbbd3c543" => :mavericks
|
|
|
|
sha1 "b98cc145bbbae45421b36721f39f0a5a7a8ee3f7" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-01-01 20:11:22 +00:00
|
|
|
depends_on "cd-discid"
|
|
|
|
depends_on "cdrtools"
|
|
|
|
depends_on "id3v2"
|
|
|
|
depends_on "mkcue"
|
|
|
|
depends_on "flac" => :optional
|
|
|
|
depends_on "lame" => :optional
|
|
|
|
depends_on "vorbis-tools" => :optional
|
2010-08-15 16:29:18 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-06 04:59:18 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}", "etcdir=#{etc}"
|
2015-01-01 20:11:22 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/abcde", "-v"
|
2010-08-15 16:29:18 +00:00
|
|
|
end
|
|
|
|
end
|