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://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip' | |
homepage 'http://www.amazon.com/gp/feature.html?docId=1000765211' | |
md5 '0e21737cbe1ec74e33d5cf722767e18c' | |
version '2.9' | |
skip_clean 'bin' |
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
## based on https://github.com/lioonline/OS-X-El-Capitan | |
## pkg file link - http://osxapps.itunes.apple.com/apple-assets-us-std-000001/Purple3/v4/74/d2/82/74d28291-9db9-7ae2-305d-9b8b3f5fd463/ftk3252456602304584541.pkg | |
# Run this from folder where you have downloaded or copied ftk3252456602304584541.pkg file | |
#create a tmp folder | |
mkdir elCapitanRoot && cd elCapitanRoot | |
#create a folder structure to match apple server | |
sudo mkdir -p ./apple-assets-us-std-000001/Purple3/v4/74/d2/82/74d28291-9db9-7ae2-305d-9b8b3f5fd463/ |