aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/v8.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-08 16:22:45 -0700
committerAdam Vandenberg2010-04-09 21:27:23 -0700
commitf2ed859935ddad1cca5acbc2d53e05304ad12087 (patch)
treee2a6aeee2acd9843b98692fdf0eebd3f6727b69a /Library/Formula/v8.rb
parent1d195a3a140322a3cc8db6001da5c61f3a292688 (diff)
downloadhomebrew-f2ed859935ddad1cca5acbc2d53e05304ad12087.tar.bz2
Clean up v8
* Remove silly concatenation * Don't need to require hardware in a formula (it's already there.)
Diffstat (limited to 'Library/Formula/v8.rb')
-rw-r--r--Library/Formula/v8.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb
index 91f6a711c..d92edc352 100644
--- a/Library/Formula/v8.rb
+++ b/Library/Formula/v8.rb
@@ -1,5 +1,4 @@
require 'formula'
-require 'hardware'
class V8 <Formula
head 'http://v8.googlecode.com/svn/trunk/'
@@ -20,10 +19,10 @@ class V8 <Formula
"console=readline",
"sample=shell"
- include.install(Dir['include/*'])
- lib.install(Dir['libv8.*'])
+ include.install Dir['include/*']
+ lib.install Dir['libv8.*']
bin.install 'shell' => 'v8'
- system "install_name_tool -change libv8.dylib #{lib}/libv8.dylib #{bin+'v8'}"
+ system "install_name_tool -change libv8.dylib #{lib}/libv8.dylib #{bin}/v8"
end
end