homebrew-core/Formula/abcde.rb
Benjamin Frank 4a764c7ab2 abcde: fix redir expansion bug.
Closes Homebrew/homebrew#47643.
Closes Homebrew/homebrew#47644.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04 03:14:26 +00:00

43 lines
1.6 KiB
Ruby

class Abcde < Formula
desc "Better CD Encoder"
homepage "http://abcde.einval.com"
url "http://abcde.einval.com/download/abcde-2.7.1.tar.gz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/abcde/abcde_2.7.1.orig.tar.gz"
sha256 "3401e39785b20edee843d4d875b47d2b559f764681c482c4491a8c8ba605f250"
revision 1
head "http://git.einval.com/git/abcde.git"
bottle do
cellar :any_skip_relocation
sha256 "280d8fb0d65538b2fc048f1bd04bde8e613debf0ce11ff1920965f584733d1a7" => :el_capitan
sha256 "07e438a74a135cfb7edb8c4e111f584d16d66a7d9a1479261e91ff53a25ce6ec" => :yosemite
sha256 "27fda1409d19f6f34fa4f4de866ba9da564873139f21b74edf3e0494a647097d" => :mavericks
end
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
depends_on "glyr" => :optional
# Fix "Expansion of $REDIR quoted on MacOSX breaks cp" bug
# (http://abcde.einval.com/bugzilla/show_bug.cgi?id=22)
# Obsolete once a new version is released as upstream already merged this
# patch in c024365a846faae390f23c86f32235d6209e6edf
# (http://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=commit;h=c024365a846faae390f23c86f32235d6209e6edf)
patch do
url "http://abcde.einval.com/bugzilla/attachment.cgi?id=12"
sha256 "4620dd5ef7ab32b6511782da85831661ccee292fadff1f58acc3b4992486af62"
end
def install
system "make", "install", "prefix=#{prefix}", "etcdir=#{etc}"
end
test do
system "#{bin}/abcde", "-v"
end
end