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-01-03 19:18:49 +00:00
|
|
|
revision 1
|
2016-01-04 03:14:08 +00:00
|
|
|
|
2016-04-17 19:24:58 +00:00
|
|
|
head "https://git.einval.com/git/abcde.git"
|
2010-08-15 16:29:18 +00:00
|
|
|
|
2016-01-04 03:14:08 +00:00
|
|
|
stable do
|
2016-04-17 19:24:58 +00:00
|
|
|
url "https://abcde.einval.com/download/abcde-2.7.1.tar.gz"
|
2016-01-04 03:14:08 +00:00
|
|
|
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/abcde/abcde_2.7.1.orig.tar.gz"
|
|
|
|
sha256 "3401e39785b20edee843d4d875b47d2b559f764681c482c4491a8c8ba605f250"
|
|
|
|
|
|
|
|
# Fix "Expansion of $REDIR quoted on MacOSX breaks cp" bug
|
2016-04-17 19:24:58 +00:00
|
|
|
# (https://abcde.einval.com/bugzilla/show_bug.cgi?id=22)
|
2016-01-04 03:14:08 +00:00
|
|
|
# Obsolete once a new version is released as upstream already merged this
|
|
|
|
# patch in c024365a846faae390f23c86f32235d6209e6edf
|
2016-04-17 19:24:58 +00:00
|
|
|
# (https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=commit;h=c024365a846faae390f23c86f32235d6209e6edf)
|
2016-01-04 03:14:08 +00:00
|
|
|
patch do
|
2016-04-17 19:24:58 +00:00
|
|
|
url "https://abcde.einval.com/bugzilla/attachment.cgi?id=12"
|
2016-01-04 03:14:08 +00:00
|
|
|
sha256 "4620dd5ef7ab32b6511782da85831661ccee292fadff1f58acc3b4992486af62"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
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
|
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
|