summaryrefslogtreecommitdiff
path: root/homebrew/n
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/n')
-rw-r--r--homebrew/n/.beer17
-rw-r--r--homebrew/n/.make.sh-auto3
-rw-r--r--homebrew/n/_metadata/description1
-rw-r--r--homebrew/n/_metadata/homepage1
-rw-r--r--homebrew/n/_metadata/name1
-rw-r--r--homebrew/n/_metadata/version1
-rwxr-xr-xhomebrew/n/download.sh1
7 files changed, 25 insertions, 0 deletions
diff --git a/homebrew/n/.beer b/homebrew/n/.beer
new file mode 100644
index 000000000..c51df64fa
--- /dev/null
+++ b/homebrew/n/.beer
@@ -0,0 +1,17 @@
+{
+ "name": "N",
+ "description": "Node version management",
+ "url": "https://github.com/tj/n/archive/v3.0.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/tj/n",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.mkdir",
+ "system \"make\", \"PREFIX=#{prefix}\", \"install\""
+ ],
+ "version": "3.0.2",
+ "file": "n.rb"
+} \ No newline at end of file
diff --git a/homebrew/n/.make.sh-auto b/homebrew/n/.make.sh-auto
new file mode 100644
index 000000000..c571a1ca2
--- /dev/null
+++ b/homebrew/n/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+bin.mkdir
+make PREFIX=${PKG_TAPF} DESTDIR=${PKG_DEST} install
diff --git a/homebrew/n/_metadata/description b/homebrew/n/_metadata/description
new file mode 100644
index 000000000..ca17ac8f4
--- /dev/null
+++ b/homebrew/n/_metadata/description
@@ -0,0 +1 @@
+Node version management
diff --git a/homebrew/n/_metadata/homepage b/homebrew/n/_metadata/homepage
new file mode 100644
index 000000000..9717bd0e5
--- /dev/null
+++ b/homebrew/n/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/tj/n
diff --git a/homebrew/n/_metadata/name b/homebrew/n/_metadata/name
new file mode 100644
index 000000000..d52e79877
--- /dev/null
+++ b/homebrew/n/_metadata/name
@@ -0,0 +1 @@
+N
diff --git a/homebrew/n/_metadata/version b/homebrew/n/_metadata/version
new file mode 100644
index 000000000..b50214693
--- /dev/null
+++ b/homebrew/n/_metadata/version
@@ -0,0 +1 @@
+3.0.2
diff --git a/homebrew/n/download.sh b/homebrew/n/download.sh
new file mode 100755
index 000000000..551cb16fa
--- /dev/null
+++ b/homebrew/n/download.sh
@@ -0,0 +1 @@
+wget https://github.com/tj/n/archive/v3.0.2.tar.gz \ No newline at end of file