summaryrefslogtreecommitdiff
path: root/strata/nodejs/node-yamljs.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/nodejs/node-yamljs.morph')
-rw-r--r--strata/nodejs/node-yamljs.morph9
1 files changed, 9 insertions, 0 deletions
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