aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTerin Stock2013-08-07 11:49:11 -0700
committerAdam Vandenberg2013-09-15 12:40:22 -0700
commit2c0339c527f1ed9ffe5af7ae66493a61d75a9086 (patch)
tree3b567277ebb0e3583937e6ddbe4b335aad6a90ec /Library/Formula
parentd3a201888c311f17f5d1cf28187aed0580a6fb4a (diff)
downloadhomebrew-2c0339c527f1ed9ffe5af7ae66493a61d75a9086.tar.bz2
n 1.1.0
n is TJ Holowaychuk's simple node binary manager Closes #21734. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/n.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/n.rb b/Library/Formula/n.rb
new file mode 100644
index 000000000..de37d4445
--- /dev/null
+++ b/Library/Formula/n.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class N < Formula
+ homepage 'https://github.com/visionmedia/n'
+ head 'https://github.com/visionmedia/n.git'
+ url 'https://github.com/visionmedia/n/archive/1.1.0.tar.gz'
+ sha1 '93c7661630310ca38627052be4df47f89285b099'
+
+ def install
+ bin.mkdir
+ system "make", "PREFIX=#{prefix}", "install"
+ end
+end