Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Add pex for managing PostgreSQL extensions. #28218

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Library/Formula/pex.rb
Original file line number Diff line number Diff line change
@@ -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