aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike Prentice2013-09-16 19:54:23 -0400
committerAdam Vandenberg2013-09-19 07:40:41 -0700
commit73be0431879ed21a4076dd7498fdbe7cadaf94ce (patch)
tree487d66d0186d3a41a117be82574d2ae87f5d9554 /Library/Formula
parent0a960e2d3c2dddeebce4afefe00dbcad2c3582ff (diff)
downloadhomebrew-73be0431879ed21a4076dd7498fdbe7cadaf94ce.tar.bz2
cdlabelgen 4.3.0
Closes #22602. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cdlabelgen.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/cdlabelgen.rb b/Library/Formula/cdlabelgen.rb
new file mode 100644
index 000000000..da61f2b6e
--- /dev/null
+++ b/Library/Formula/cdlabelgen.rb
@@ -0,0 +1,19 @@
+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