summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-18 16:32:58 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-18 16:32:58 (GMT)
commit92e462f5f8f9af9fe1ce0a329fe62420a36ad2a1 (patch)
treed353b3a525e95c76d0f25d683f161a3692362ee5
parent0b2e561848df9b70a871912c3a42ba6fd2678df4 (diff)
downloaddefinitions-baserock/sam/import-npm.tar.gz
Actually 'git add' those filesbaserock/sam/import-npm
-rw-r--r--strata/nodejs/node-async.morph9
-rw-r--r--strata/nodejs/node-yamljs.morph9
2 files changed, 18 insertions, 0 deletions
diff --git a/strata/nodejs/node-async.morph b/strata/nodejs/node-async.morph
new file mode 100644
index 0000000..5ff0889
--- /dev/null
+++ b/strata/nodejs/node-async.morph
@@ -0,0 +1,9 @@
+name: node-async
+kind: chunk
+build-system: manual
+install-commands:
+ - mkdir -p "$DESTDIR"/"$PREFIX"/lib/node_modules/async
+ - cp -a * "$DESTDIR"/"$PREFIX"/lib/node_modules/async
+ - npm config set prefix "$DESTDIR"/"$PREFIX"
+ - npm config set unsafe-perm true
+ - cd "$DESTDIR"/"$PREFIX" && npm build --global --verbose "$DESTDIR"/"$PREFIX"/lib/node_modules/async
diff --git a/strata/nodejs/node-yamljs.morph b/strata/nodejs/node-yamljs.morph
new file mode 100644
index 0000000..0192df9
--- /dev/null
+++ b/strata/nodejs/node-yamljs.morph
@@ -0,0 +1,9 @@
+name: node-yamljs
+kind: chunk
+build-system: manual
+install-commands:
+ - mkdir -p "$DESTDIR"/"$PREFIX"/lib/node_modules/yamljs
+ - cp -a * "$DESTDIR"/"$PREFIX"/lib/node_modules/yamljs
+ - npm config set prefix "$DESTDIR"/"$PREFIX"
+ - npm config set unsafe-perm true
+ - cd "$DESTDIR"/"$PREFIX" && npm build --global --verbose "$DESTDIR"/"$PREFIX"/lib/node_modules/yamljs