Skip to content

Instantly share code, notes, and snippets.

@verus
Created February 20, 2012 21:40
Show Gist options
  • Select an option

  • Save verus/1871640 to your computer and use it in GitHub Desktop.

Select an option

Save verus/1871640 to your computer and use it in GitHub Desktop.
Easybook formula for homebrew
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