Skip to content

Commit

Permalink
Added Homebrew build for OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
iamed2 committed Oct 19, 2015
1 parent 35e1981 commit dc58a9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DataArrays
Compat
JSON
BinDeps
@osx Homebrew
5 changes: 5 additions & 0 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ provides(Yum, "libpq5", libpq)
provides(Yum, "postgresql-libs", libpq)
provides(Pacman, "postgresql-libs", libpq)

@osx_only begin
using Homebrew
provides(Homebrew.HB, "postgresql", libpq, os=:Darwin)
end

provides(SimpleBuild, (@build_steps begin
BinDeps.DirectoryRule(postgresql_srcdir, # this isn't exported for some reason
`git clone $postgresql_giturl $postgresql_srcdir --depth 1 --branch $branch`
Expand Down

0 comments on commit dc58a9e

Please sign in to comment.