Created
February 20, 2012 21:40
-
-
Save verus/1871640 to your computer and use it in GitHub Desktop.
Easybook formula 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 Easybook < Formula | |
head 'https://github.com/javiereguiluz/easybook.git', :branch => 'master' | |
url 'https://github.com/javiereguiluz/easybook/tarball/v4.0.0' | |
homepage 'http://easybook-project.org/' | |
md5 'b9f891d3a88f8dd4013aa243c8b0ccb1' | |
def install | |
prefix.install Dir['*'] | |
bin.mkpath | |
ln_s "#{prefix}/book", bin+"book" | |
system "chmod", "777", "#{prefix}/doc" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment