File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # This will run your existing Makefile.
4+ # conda-build automatically sets up the environment so that the
5+ # C compiler ($CC) is found and the htslib headers and libraries
6+ # are available for compilation and linking.
7+ make PREFIX=$PREFIX
8+
9+ # Create the directory where executables should be placed in a conda env
10+ mkdir -p $PREFIX /bin
11+
12+ # Copy your compiled unicorn executable into that directory
13+ cp unicorn $PREFIX /bin/
14+
15+ # Optional: If you want to install header files for others to use
16+ mkdir -p $PREFIX /include
17+ cp src/unicorn.h $PREFIX /include/
18+
19+ # Optional: If you want to install the static library
20+ mkdir -p $PREFIX /lib
21+ cp libunicorn.a $PREFIX /lib/
Original file line number Diff line number Diff line change 1+ # conda-recipe/meta.yaml
2+ package :
3+ name : unicorn
4+ version : " 1.0.0" # Replace with your project's actual version
5+
6+ source :
7+ url :
8+ sha256 :
9+
10+ build :
11+ number : 0
12+
13+ requirements :
14+ build :
15+ - {{ compiler('c') }} # Specifies the C compiler for the target platform
16+ - make # The 'make' build tool
17+
18+ host :
19+ - htslib >=1.10 # The library to link against during compilation
20+
21+ run :
22+ - htslib >=1.10 # The library needed at runtime by the executable
23+
24+
25+ about :
26+ home : " https://github.com/GeoGenetics/unicorn"
27+ license : MIT
28+ summary : " A tool for computing statistics on short read alignments."
You can’t perform that action at this time.
0 commit comments