Skip to content

Commit

Permalink
Fix #34: add a homebrew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleiade committed Dec 1, 2013
1 parent 1fc9f88 commit 00d5ed1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,19 @@ $ sudo apt-get install trousseau
<div class="subsection-break"></div>
### OSX

A repository for OS X distributions will be provided soon. But for now, please refer to the **build** installation.
#### Homebrew

If you're using homebrew just proceed to installation using the provided formula:

```bash
$ brew install trousseau.rb
```

*Et voila!*

#### Macports

Coming soon (Don't be shy, if you feel like you could do it, just send pull request ;) )

<div class="subsection-break"></div>
### Build it
Expand Down
16 changes: 16 additions & 0 deletions trousseau.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require 'formula'

class Trousseau < Formula
homepage 'https://github.com/oleiade/trousseau'
url 'https://github.com/oleiade/trousseau/archive/0.1.4.tar.gz'
sha1 '550e38eccaf4ab2c35afc1ed3f997d9ff2f15b89'

depends_on 'go' => :build
depends_on 'mercurial' => :build
depends_on 'bzr' => :build

def install
system 'make', 'all'
bin.install('bin/trousseau')
end
end

0 comments on commit 00d5ed1

Please sign in to comment.