New Formula: jp2a (JPEG to ASCII converter)
Closes Homebrew/homebrew#7956. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
62a669b8a5
commit
96538a4f86
1 changed files with 19 additions and 0 deletions
19
Formula/jp2a.rb
Normal file
19
Formula/jp2a.rb
Normal 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
|
Loading…
Reference in a new issue