Skip to content

Commit

Permalink
Add GeneNoteBook recipe (#10089)
Browse files Browse the repository at this point in the history
* genenotebook recipe

* Build from prebundled tarball
  • Loading branch information
holmrenser authored Aug 5, 2018
1 parent 74b4e4f commit b9334da
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipes/genenotebook/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

set -exo pipefail

outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p $outdir $PREFIX/bin
ls -l .
cp -R * $outdir
ln -s $outdir/genenotebook $PREFIX/bin/genenotebook
#npm install --unsafe-perm --force
#ls -l .
#ls -l genenotebook_v$PKG_VERSION/
#cp -R genenotebook_v$PKG_VERSION/* $outdir/
#ls -l $outdir
#ln -s $outdir/genenotebook $PREFIX/bin
#chmod 0755 "${PREFIX}/bin/genenotebook"
34 changes: 34 additions & 0 deletions recipes/genenotebook/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set name = 'GeneNoteBook' %}
{% set version = '0.1.1' %}
{% set sha256 = 'f548ca504c0fccbe78aefe91c31b1893c8effc6bef8966f4930e47e87b761317' %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/genenotebook/genenotebook/releases/download/v{{ version }}/genenotebook_v{{ version }}.tar.gz #https://github.com/genenotebook/genenotebook/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}

requirements:
#build:
# - jq
# - nodejs
run:
- blast
- nodejs
- mongodb

build:
number: 0

test:
commands:
- genenotebook -v

about:
home: https://genenotebook.github.io
license: AGPL-3.0
license_file: LICENSE
summary: A colleborative notebook for genes and genomes

0 comments on commit b9334da

Please sign in to comment.