Created
August 8, 2012 08:12
-
-
Save mrflip/3293350 to your computer and use it in GitHub Desktop.
Updated kindlegen recipe for homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Kindlegen < Formula | |
url 'http://s3.amazonaws.com/kindlegen/KindleGen_Mac_i386_v2_5.zip' | |
homepage 'http://www.amazon.com/gp/feature.html?docId=1000234621' | |
md5 '8daf6956d54df8030b12ec9116945482' | |
version '2.5' | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment