Mercurial > repos > fubar > jbrowse2
comparison x/conda_build.sh @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
124:137e08517410 | 125:49f3d3878413 |
---|---|
1 if [ -z ${CONDA_BUILD+x} ]; then | |
2 source /opt/conda/conda-bld/jbrowse2_1726856947541/work/build_env_setup.sh | |
3 fi | |
4 #!/bin/bash | |
5 | |
6 # Place the jbrowse2 www content in the conda package | |
7 mkdir -p $PREFIX/opt/jbrowse2/ | |
8 cp -r * $PREFIX/opt/jbrowse2/ | |
9 | |
10 # Set an env var for people willing to find the jbrowse2 www content | |
11 mkdir -p $PREFIX/etc/conda/activate.d/ | |
12 echo "export JBROWSE2_SOURCE_DIR=$PREFIX/opt/jbrowse2" > $PREFIX/etc/conda/activate.d/jbrowse2-sourcedir.sh | |
13 chmod a+x $PREFIX/etc/conda/activate.d/jbrowse2-sourcedir.sh | |
14 | |
15 mkdir -p $PREFIX/etc/conda/deactivate.d/ | |
16 echo "unset JBROWSE2_SOURCE_DIR" > $PREFIX/etc/conda/deactivate.d/jbrowse2-sourcedir.sh | |
17 chmod a+x $PREFIX/etc/conda/deactivate.d/jbrowse2-sourcedir.sh | |
18 | |
19 # Install the CLI | |
20 npm install --prefix=${PREFIX} -g @jbrowse/cli@${PKG_VERSION} |