summaryrefslogtreecommitdiff
path: root/strata/nodejs/node-async.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/nodejs/node-async.morph')
-rw-r--r--strata/nodejs/node-async.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/nodejs/node-async.morph b/strata/nodejs/node-async.morph
new file mode 100644
index 00000000..5ff0889a
--- /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