befc43a3f8
Closes Homebrew/homebrew#22602. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
457 B
Ruby
19 lines
457 B
Ruby
require 'formula'
|
|
|
|
class Cdlabelgen < Formula
|
|
homepage 'http://www.aczoom.com/tools/cdinsert/'
|
|
url 'http://www.aczoom.com/pub/tools/cdlabelgen-4.3.0.tgz'
|
|
sha1 '1f7e1c34f7a5f409da19ca768a07778191264b19'
|
|
|
|
depends_on 'jpeg2ps' => :recommended
|
|
|
|
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
|