2011-03-10 05:11:03 +00:00
|
|
|
class Abcde < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Better CD Encoder"
|
2016-04-17 19:24:58 +00:00
|
|
|
homepage "https://abcde.einval.com"
|
2017-01-18 18:36:50 +00:00
|
|
|
url "https://abcde.einval.com/download/abcde-2.8.1.tar.gz"
|
|
|
|
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/abcde/abcde_2.8.1.orig.tar.gz"
|
|
|
|
sha256 "e49c71d7ddcd312dcc819c3be203abd3d09d286500ee777cde434c7881962b39"
|
2016-04-17 19:24:58 +00:00
|
|
|
head "https://git.einval.com/git/abcde.git"
|
2010-08-15 16:29:18 +00:00
|
|
|
|
2014-11-03 20:58:14 +00:00
|
|
|
bottle do
|
2015-09-30 18:05:49 +00:00
|
|
|
cellar :any_skip_relocation
|
2017-01-18 18:43:12 +00:00
|
|
|
sha256 "53a4212fb0aedcc304f88c972935c365a1547fd59c3d942dd2bcea0dfd0e7bbf" => :sierra
|
|
|
|
sha256 "2021393f54fbe42f4c94d303d124c487d8c0aec6bc1d6a2fa8c1368d38be3735" => :el_capitan
|
|
|
|
sha256 "2021393f54fbe42f4c94d303d124c487d8c0aec6bc1d6a2fa8c1368d38be3735" => :yosemite
|
2014-11-03 20:58:14 +00:00
|
|
|
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
|
2015-09-26 17:55:12 +00:00
|
|
|
depends_on "glyr" => :optional
|
2010-08-15 16:29:18 +00:00
|
|
|
|
|
|
|
def install
|
2016-06-04 22:44:55 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}", "sysconfdir=#{etc}"
|
2015-01-01 20:11:22 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-06-04 22:44:55 +00:00
|
|
|
assert_match version.to_s, shell_output("#{bin}/abcde -v")
|
2010-08-15 16:29:18 +00:00
|
|
|
end
|
|
|
|
end
|