https://github.com/imyller/bitbake-npm
OpenEmbedded layer with Bitbake fetch support for Node.js NPM repositories
https://github.com/imyller/bitbake-npm
Last synced: about 1 year ago
JSON representation
OpenEmbedded layer with Bitbake fetch support for Node.js NPM repositories
- Host: GitHub
- URL: https://github.com/imyller/bitbake-npm
- Owner: imyller
- License: mit
- Created: 2014-05-21T16:15:28.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-03-29T21:46:52.000Z (over 10 years ago)
- Last Synced: 2023-08-13T08:01:10.977Z (almost 3 years ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bitbake-npm
===========
BitBake 1.28 (Yocto 2.0) layer adding fetch support for Node.js NPM repositories.
Adds support for `npm://;version=` in recipe `SRC_URI`.
Installation
============
1. Add `bitbake-npm` layer to `sources/layers.txt`
```
bitbake-npm,git://github.com/imyller/bitbake-npm.git,master,HEAD
```
2. Add `bitbake-npm` layer to `EXTRALAYERS` in `conf/bblayers.conf`
```
EXTRALAYERS +=" \
${TOPDIR}/sources/bitbake-npm \
"
```
3. Run `oebb.sh update`
Usage
=====
1. Inherit `npm-fetch` class in recipe
```
inherit npm-fetch
```
2. Use `npm://` URI sources in the recipe `SRC_URI`
```
SRC_URI = "npm://forever;version=0.15.1"
```
*Note:* defining a `version` is optional