homebrew-core/Formula/cdlabelgen.rb

19 lines
455 B
Ruby
Raw Normal View History

require 'formula'
class Cdlabelgen < Formula
desc "CD/DVD inserts and envelopes"
homepage 'http://www.aczoom.com/tools/cdinsert/'
url 'http://www.aczoom.com/pub/tools/cdlabelgen-4.3.0.tgz'
sha1 '1f7e1c34f7a5f409da19ca768a07778191264b19'
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