2014-04-07 08:32:57 +00:00
|
|
|
class Pex < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Package manager for PostgreSQL"
|
2014-04-07 08:32:57 +00:00
|
|
|
homepage "https://github.com/petere/pex"
|
|
|
|
url "https://github.com/petere/pex/archive/1.20140409.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "5047946a2f83e00de4096cd2c3b1546bc07be431d758f97764a36b32b8f0ae57"
|
2014-04-07 08:32:57 +00:00
|
|
|
|
|
|
|
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
|