From 96538a4f86d6958cdfca7bbb68ffe66d5beeb125 Mon Sep 17 00:00:00 2001 From: Luke Pullella Date: Mon, 3 Oct 2011 23:47:27 +0800 Subject: [PATCH] New Formula: jp2a (JPEG to ASCII converter) Closes Homebrew/homebrew#7956. Signed-off-by: Charlie Sharpsteen --- Formula/jp2a.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/jp2a.rb diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb new file mode 100644 index 00000000000..7ccc1d29aa0 --- /dev/null +++ b/Formula/jp2a.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Jp2a < Formula + url 'http://sourceforge.net/projects/jp2a/files/jp2a/1.0.6/jp2a-1.0.6.tar.gz' + homepage 'http://csl.sublevel3.org/jp2a/' + md5 'eb6281eee29acf1c494dcaf7d745a5df' + + depends_on 'jpeg' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + def test + system "jp2a -V" + end +end