homebrew-core/Formula/cdlabelgen.rb
2017-09-21 16:12:14 +02:00

25 lines
986 B
Ruby

class Cdlabelgen < Formula
desc "CD/DVD inserts and envelopes"
homepage "https://www.aczoom.com/tools/cdinsert/"
url "https://www.aczoom.com/pub/tools/cdlabelgen-4.3.0.tgz"
sha256 "94202a33bd6b19cc3c1cbf6a8e1779d7c72d8b3b48b96267f97d61ced4e1753f"
bottle do
cellar :any_skip_relocation
sha256 "ece93bae3d8b9e6e5c37b347849836dc970183efcea603d7d3b6f8f0dbaebd4a" => :high_sierra
sha256 "a874e660972a4ac722e56e13749a17f3c76c5fa61691f44d70afb13c88e4e65f" => :sierra
sha256 "34758541efaf3e124ff531d09cdf3f511651be8602f179de1e5ecd606b0aa60b" => :el_capitan
sha256 "caeda225b0c542c388723e7ac464844d8924705e14313a1665526564d3bb12bc" => :yosemite
sha256 "bf49f61ddb7f79e9699bfca3e0867b5869359be85de43184b77abadece71a645" => :mavericks
end
def install
man1.mkpath
system "make", "install", "BASE_DIR=#{prefix}"
end
test do
system "#{bin}/cdlabelgen", "-c", "TestTitle", "--output-file", "testout.eps"
File.file?("testout.eps")
end
end