summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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