2012-02-13 18:26:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Autoenv < Formula
|
|
|
|
homepage 'https://github.com/kennethreitz/autoenv'
|
2013-03-29 01:03:20 +00:00
|
|
|
url 'https://github.com/kennethreitz/autoenv/archive/v0.1.0.tar.gz'
|
|
|
|
sha1 '4d773ba8162b8f49abdfc07d0f8c956aa3353e0c'
|
2012-02-13 18:26:44 +00:00
|
|
|
|
|
|
|
head 'https://github.com/kennethreitz/autoenv.git', :branch => 'master'
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install "activate.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Autoenv was installed to:
|
2012-11-25 19:42:57 +00:00
|
|
|
#{opt_prefix}
|
2012-02-13 18:26:44 +00:00
|
|
|
|
|
|
|
To finish the installation, source activate.sh in your shell:
|
2012-11-25 19:42:57 +00:00
|
|
|
source #{opt_prefix}/activate.sh
|
2012-02-13 18:26:44 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|