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"
|
2016-06-04 22:44:55 +00:00
|
|
|
url "https://abcde.einval.com/download/abcde-2.7.2.tar.gz"
|
|
|
|
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/abcde/abcde_2.7.2.orig.tar.gz"
|
|
|
|
sha256 "aa39881682ac46eb9fc199d1343b97bc56a322b41a5c57013acda31948bc53dd"
|
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
|
2016-01-03 22:17:37 +00:00
|
|
|
sha256 "91bebd8a7c17518bfc99f2b8067234024fe012205f2d5d0e193eb64dd2882fc5" => :el_capitan
|
|
|
|
sha256 "f553e4ef30cdc2a3a7f01f4874d98cc3fbcb5fb4dabd2ee36496ad7fff2cec89" => :yosemite
|
|
|
|
sha256 "754737e1e8adaa267e77f1cec57e414e9e7d4598fe24f3428cc4ad07d280994b" => :mavericks
|
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
|