New Formula: jp2a (JPEG to ASCII converter)

Closes Homebrew/homebrew#7956.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Luke Pullella 2011-10-03 23:47:27 +08:00 committed by Charlie Sharpsteen
parent 62a669b8a5
commit 96538a4f86

19
Formula/jp2a.rb Normal file
View file

@ -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