Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 603 Bytes
require 'formula'
class Kindlegen < Formula
url 'http://s3.amazonaws.com/kindlegen/KindleGen_Mac_i386_v2.zip'
homepage 'http://www.amazon.com/gp/feature.html?docId=1000234621'
md5 '047940fa927751ca426e0cfab0f30815'
version '2.3'
skip_clean 'bin'
def install
bin.install Dir['kindlegen']
end
def test
system "kindlegen"
end
def caveats; <<-EOS
We agreed to the KindleGen License Agreement for you by downloading KindleGen.
If this is unacceptable you should uninstall.
License information at:
http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621
EOS
end
end