2012-06-25 18:31:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class RbenvVars < Formula
|
|
|
|
homepage 'https://github.com/sstephenson/rbenv-vars'
|
|
|
|
url 'https://github.com/sstephenson/rbenv-vars/tarball/v1.1.0'
|
|
|
|
sha1 '40d57e4a1f64ef03efbf6fd5a15ef637d6a5755e'
|
|
|
|
|
|
|
|
head 'https://github.com/sstephenson/rbenv-vars.git'
|
|
|
|
|
|
|
|
depends_on 'rbenv'
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install Dir['*']
|
2012-10-30 14:29:21 +00:00
|
|
|
|
|
|
|
ln_sf opt_prefix, "#{HOMEBREW_PREFIX}/var/lib/rbenv/plugins/#{name}"
|
2012-06-25 18:31:30 +00:00
|
|
|
end
|
|
|
|
end
|