kumquat-buildroot/package/nodejs
Martin Bark 1325da4a28 package/nodejs: Fixed npm global install
Set npm_config_prefix to $(TARGET_DIR)/usr so that npm -g will correctly
install global modules to $(TARGET_DIR)/usr/lib/node_modules.

By using npm -g to install global modules npm will now automatically create
the symlinks to executables under $(TARGET_DIR)/usr/bin.

See https://docs.npmjs.com/misc/config#global and
https://docs.npmjs.com/files/folders for information on how the prefix
setting is used by global installs.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-02 23:12:02 +01:00
..
0.10.40
0.12.7 nodejs: fix typo for arm predefined macro used for atomicops 2015-10-11 14:54:12 +02:00
4.1.2 package/nodejs: more python3 fixes 2015-10-31 15:47:46 +01:00
Config.in package/nodejs: add version 4.1.2 2015-10-20 09:55:06 +02:00
nodejs.hash package/nodejs: add version 4.1.2 2015-10-20 09:55:06 +02:00
nodejs.mk package/nodejs: Fixed npm global install 2015-11-02 23:12:02 +01:00