no more custom gyp

This commit is contained in:
Will Farrington
2012-10-18 16:00:14 -07:00
parent 33b1b66ee4
commit fcc6795e83
2 changed files with 0 additions and 22 deletions

View File

@@ -27,4 +27,3 @@ exit_unless_npm_exists
exit_unless_brew_exists
npm install
brew install tools/gyp-formula.rb

View File

@@ -1,21 +0,0 @@
# Adapted from https://github.com/mxcl/homebrew/pull/11776/files
require 'formula'
class GypFormula < Formula
homepage 'http://code.google.com/p/gyp/'
url 'http://gyp.googlecode.com/svn/trunk', :revision => 1518
version 'trunk-1518'
head 'http://gyp.googlecode.com/svn/trunk'
def install
system "python", "setup.py", "install",
"--prefix=#{prefix}", "--install-purelib=#{libexec}",
"--install-platlib=#{libexec}", "--install-scripts=#{bin}"
mv bin + 'gyp', bin + 'gyp.py'
mv Dir[bin + '*'], libexec
bin.install_symlink "#{libexec}/gyp.py" => "gyp"
end
end