You'll find here a couple of Homebrew formulae to help you build KindleTool on OS X.
While kindletool works with the current stable releases of libarchive & nettle, I currently target my builds against the bleeding edge code, so if you want to match that, you'll have to install the HEAD version of libarchive, nettle & kindletool.
-
Tap this repo
brew tap NiLuJe/kindletool
-
Install nettle @ git master
brew install NiLuJe/kindletool/nettle-git --HEAD
-
Install libarchive @ git master
brew install NiLuJe/kindletool/libarchive-git --HEAD
-
Install KindleTool @ git master
brew install kindletool --HEAD