forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabcde.rb
32 lines (28 loc) · 961 Bytes
/
abcde.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Abcde < Formula
desc "Better CD Encoder"
homepage "https://abcde.einval.com"
url "https://abcde.einval.com/download/abcde-2.9.2.tar.gz"
sha256 "34356c6ea4cc39b33c807261bfdf8e8da8905b2ed50313147c78b283eef6858d"
revision 1
head "https://git.einval.com/git/abcde.git"
bottle do
cellar :any_skip_relocation
sha256 "9b390aaedef649f141a790b7291db5db37e288a28a11962b30799769cc8fe979" => :mojave
sha256 "d24c74859027cb359cd0b1eb3966551da4641dd44ea001c33b45e596ccc7b9bb" => :high_sierra
sha256 "d24c74859027cb359cd0b1eb3966551da4641dd44ea001c33b45e596ccc7b9bb" => :sierra
end
depends_on "cd-discid"
depends_on "cdrtools"
depends_on "flac"
depends_on "glyr"
depends_on "id3v2"
depends_on "lame"
depends_on "mkcue"
depends_on "vorbis-tools"
def install
system "make", "install", "prefix=#{prefix}", "sysconfdir=#{etc}"
end
test do
assert_match version.to_s, shell_output("#{bin}/abcde -v")
end
end