32 lines
1.3 KiB
Ruby
32 lines
1.3 KiB
Ruby
class Mkcue < Formula
|
|
desc "Generate a CUE sheet from a CD"
|
|
homepage "https://packages.debian.org/sid/mkcue"
|
|
url "https://deb.debian.org/debian/pool/main/m/mkcue/mkcue_1.orig.tar.gz"
|
|
version "1"
|
|
sha256 "2aaf57da4d0f2e24329d5e952e90ec182d4aa82e4b2e025283e42370f9494867"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
rebuild 2
|
|
sha256 "04a1028cdb9608369a30f1c7f54204963bfd9ccac697d098499846df035c2886" => :catalina
|
|
sha256 "8efe5acfdcd27c465e5b570d4d0a602370912fa83dd6edbe73b26144e420429c" => :mojave
|
|
sha256 "284cfe9fe5a81a75f59610d93710627167dbc48c1d72b89311562c87cea8f8ff" => :high_sierra
|
|
sha256 "b1bec8cabaddb6a78a3c2e0a13f73eb426922b64e6d9ef3c0103e92e203f6af4" => :sierra
|
|
sha256 "7677f358f99d733a6f43d02cbf5365f3c59b4f93c6a59ee05bd48045a12cbb52" => :el_capitan
|
|
sha256 "ddd5ad0b0a05a4fe74e0bfa18390370f547e3d21c00fa2499e50021ea3482ee4" => :yosemite
|
|
sha256 "e8b51b15862be5637828a522e1026409c6eef947836cf787787769d7c5b8b5de" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
bin.mkpath
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
touch testpath/"test"
|
|
system "#{bin}/mkcue", "test"
|
|
end
|
|
end
|