2011-11-24 07:44:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Epubcheck < Formula
|
|
|
|
homepage 'http://code.google.com/p/epubcheck/'
|
2013-05-29 15:25:09 +00:00
|
|
|
url 'http://epubcheck.googlecode.com/files/epubcheck-3.0.1.zip'
|
|
|
|
sha1 '80a61fb2817ec547d292362793da5b91dbef92e3'
|
2012-07-26 19:45:29 +00:00
|
|
|
|
2011-11-24 07:44:32 +00:00
|
|
|
def install
|
2012-12-24 16:15:09 +00:00
|
|
|
jarname = "epubcheck-#{version}.jar"
|
2012-08-07 18:20:52 +00:00
|
|
|
libexec.install jarname, "lib"
|
|
|
|
bin.write_jar_script libexec/jarname, 'epubcheck'
|
2011-11-24 07:44:32 +00:00
|
|
|
end
|
2012-08-29 16:08:53 +00:00
|
|
|
end
|