diff options
| author | Martin Mauch | 2014-04-07 10:32:57 +0200 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-05-14 12:34:16 -0700 | 
| commit | 79e3e73c90086cd5fef4a1c582ba234b6199dac0 (patch) | |
| tree | 7030662508416e9f32f43fdd13b6d1de5f047552 | |
| parent | d25c453c739f302691224948bd97f1b1f35b528d (diff) | |
| download | homebrew-79e3e73c90086cd5fef4a1c582ba234b6199dac0.tar.bz2 | |
pex 1.20140409
Add pex for managing PostgreSQL extensions.
Closes #28218.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/pex.rb | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/Library/Formula/pex.rb b/Library/Formula/pex.rb new file mode 100644 index 000000000..4484d0392 --- /dev/null +++ b/Library/Formula/pex.rb @@ -0,0 +1,23 @@ +require "formula" + +class Pex < Formula +  homepage "https://github.com/petere/pex" +  url "https://github.com/petere/pex/archive/1.20140409.tar.gz" +  sha1 "7cc652cd89bc6c6bf2488c8eb1ee91588053262a" + +  depends_on :postgresql + +  def install +    system "make", "install", "prefix=#{prefix}", "mandir=#{man}" +  end + +  def caveats; <<-EOS.undent +    If installing for the first time, perform the following in order to setup the necessary directory structure: +      pex init +    EOS +  end + +  test do +    assert_match /share\/pex\/packages/, `pex --repo`.strip +  end +end | 
