Skip to content

Commit

Permalink
abcde: don't patch head
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Jan 4, 2016
1 parent 41c7a83 commit 8a1482c
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions Formula/abcde.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
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"

stable do
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"

# 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
end

bottle do
cellar :any_skip_relocation
sha256 "91bebd8a7c17518bfc99f2b8067234024fe012205f2d5d0e193eb64dd2882fc5" => :el_capitan
Expand All @@ -23,16 +37,6 @@ class Abcde < Formula
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
Expand Down

0 comments on commit 8a1482c

Please sign in to comment.