parent
017d76bc59
commit
a52142a08c
|
@ -3,11 +3,10 @@ class Pyenv < Formula
|
|||
homepage "https://github.com/pyenv/pyenv"
|
||||
url "https://github.com/pyenv/pyenv/archive/v1.0.10.tar.gz"
|
||||
sha256 "cc071d6a63445dc1f7cefa5961c74768bc3dadf8edab5c5a7e1d63bf536a99b5"
|
||||
revision 1
|
||||
version_scheme 1
|
||||
head "https://github.com/pyenv/pyenv.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on "autoconf" => [:recommended, :run]
|
||||
depends_on "pkg-config" => [:recommended, :run]
|
||||
depends_on "openssl" => :recommended
|
||||
|
@ -15,6 +14,10 @@ class Pyenv < Formula
|
|||
|
||||
def install
|
||||
inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
|
||||
|
||||
system "src/configure"
|
||||
system "make", "-C", "src"
|
||||
|
||||
prefix.install Dir["*"]
|
||||
%w[pyenv-install pyenv-uninstall python-build].each do |cmd|
|
||||
bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"
|
||||
|
|
Loading…
Reference in New Issue