Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mosdepth recipe #48070

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
7 changes: 5 additions & 2 deletions recipes/mosdepth/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ if [[ ${target_platform} == osx-64 ]] ; then
curl -SL https://github.com/brentp/mosdepth/archive/refs/tags/v${PKG_VERSION}.tar.gz -o mosdepth-latest.tar.gz
tar -xzf mosdepth-latest.tar.gz
cd mosdepth-${PKG_VERSION}
martin-g marked this conversation as resolved.
Show resolved Hide resolved
export CFLAGS="$CFLAGS -I$PREFIX/include"
export LDFLAGS="$LDFLAGS -L$PREFIX/lib"
nimble install -y "docopt@0.7.0"
martin-g marked this conversation as resolved.
Show resolved Hide resolved
nimble build -y --verbose -d:release
nimble build -y --verbose -d:release -d:d4 --passC:"'-I$PREFIX/include -L$PREFIX/lib'"
martin-g marked this conversation as resolved.
Show resolved Hide resolved
else
curl -SL https://github.com/brentp/mosdepth/releases/download/v$PKG_VERSION/mosdepth -o mosdepth
#Link to mosdepth_d4 is specified below because of https://github.com/brentp/mosdepth/issues/232
curl -SL https://github.com/brentp/mosdepth/releases/download/v$PKG_VERSION/mosdepth_d4 -o mosdepth
chmod +x mosdepth
fi

Expand Down
3 changes: 2 additions & 1 deletion recipes/mosdepth/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package:
version: {{ version }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage("mosdepth", max_pin="x.x") }}

Expand All @@ -15,6 +15,7 @@ requirements:
- curl
host:
- htslib >=1.19.1
- d4binding
run:

mencian marked this conversation as resolved.
Show resolved Hide resolved
test:
Expand Down
Loading