homebrew-core/Formula/direnv.rb

29 lines
705 B
Ruby
Raw Normal View History

class Direnv < Formula
homepage "http://www.direnv.net"
url "https://github.com/zimbatm/direnv/archive/v2.6.0.tar.gz"
sha1 "ebfa8c087aadeffe2c8f84128082d670d22ea541"
head "https://github.com/zimbatm/direnv.git"
2014-11-05 15:40:52 +00:00
bottle do
2015-02-20 15:36:40 +00:00
cellar :any
2015-02-16 13:50:34 +00:00
sha1 "0cee43bd9df0e2f376e6edfaaebb6ca537df0692" => :yosemite
sha1 "9d0cd4d5ec285daba2d2e4237cac58e963fd88fc" => :mavericks
sha1 "26f4abf81efa2bcf23ae58c0a913ac6b93ef3f1d" => :mountain_lion
2014-11-05 15:40:52 +00:00
end
depends_on "go" => :build
def install
system "make", "install", "DESTDIR=#{prefix}"
end
2015-02-16 13:55:15 +00:00
def caveats
"Finish setup by following: https://github.com/zimbatm/direnv#setup"
end
test do
system bin/"direnv", "status"
end
end