An open API service indexing awesome lists of open source software.

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

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