Created
July 16, 2015 13:00
-
-
Save sj26/4fbfedc614b4e8859683 to your computer and use it in GitHub Desktop.
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 Wkhtmltopdf < Formula | |
homepage 'http://wkhtmltopdf.org/' | |
url 'http://download.gna.org/wkhtmltopdf/0.12/0.12.2/wkhtmltox-0.12.2_osx-cocoa-x86-64.pkg' | |
version '0.12.2' | |
def install | |
`cat Payload | gzip -d - | cpio -id` | |
`tar -xvf usr/local/share/wkhtmltox-installer/app.tar.xz` | |
bin.install Dir[ "bin/*" ] | |
lib.install Dir[ "lib/*" ] | |
man.install Dir[ "share/man/*" ] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment