diff --git a/recipes/samtools/0.1.18/build.sh b/recipes/samtools/0.1.18/build.sh index dc133c42d55c1..963d561450081 100644 --- a/recipes/samtools/0.1.18/build.sh +++ b/recipes/samtools/0.1.18/build.sh @@ -3,6 +3,6 @@ # does not affect the linux build # this is has been fixed in newer versions: https://github.com/samtools/samtools/issues/22 sed -i.bak -E 's/(inline void __ks_insertsort_)/static \1/g' ksort.h -make INCLUDES="-I. -I$PREFIX/include -I$PREFIX/include/ncurses" LIBCURSES="-L$PREFIX/lib -lncurses -ltinfo" LIBPATH="-L$PREFIX/lib" CC=$CC CFLAGS="-g -Wall -O2 -I$PREFIX/include -L$PREFIX/lib" +make -j ${CPU_COUNT} INCLUDES="-I. -I$PREFIX/include -I$PREFIX/include/ncurses" LIBCURSES="-L$PREFIX/lib -lncurses -ltinfo" LIBPATH="-L$PREFIX/lib" CC=$CC CFLAGS="-g -Wall -O2 -I$PREFIX/include -L$PREFIX/lib" mkdir -p $PREFIX/bin -mv samtools $PREFIX/bin \ No newline at end of file +mv samtools $PREFIX/bin diff --git a/recipes/samtools/0.1.18/meta.yaml b/recipes/samtools/0.1.18/meta.yaml index de1e934bbf01d..1e2960c3a7bd6 100644 --- a/recipes/samtools/0.1.18/meta.yaml +++ b/recipes/samtools/0.1.18/meta.yaml @@ -1,3 +1,5 @@ +{% set name = "samtools" %} + package: name: samtools version: 0.1.18 @@ -7,7 +9,9 @@ source: url: https://github.com/samtools/samtools/archive/0.1.18.tar.gz build: - number: 13 + number: 14 + run_exports: + - {{ pin_subpackage(name, max_pin="x") }} requirements: build: @@ -30,5 +34,8 @@ about: summary: Tools for dealing with SAM and BAM files extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 identifiers: - biotools:samtools diff --git a/recipes/samtools/0.1.19/build.sh b/recipes/samtools/0.1.19/build.sh index 0a00fb4756525..c27a2e240bcbb 100644 --- a/recipes/samtools/0.1.19/build.sh +++ b/recipes/samtools/0.1.19/build.sh @@ -1,5 +1,5 @@ #!/bin/sh -make INCLUDES="-I. -I$PREFIX/include -I$PREFIX/include/ncurses" LIBCURSES="-L$PREFIX/lib -lncurses -ltinfo" LIBPATH="-L$PREFIX/lib" CC=$CC CFLAGS="-g -Wall -O2 -I$PREFIX/include -L$PREFIX/lib" +make -j ${CPU_COUNT} INCLUDES="-I. -I$PREFIX/include -I$PREFIX/include/ncurses" LIBCURSES="-L$PREFIX/lib -lncurses -ltinfo" LIBPATH="-L$PREFIX/lib" CC=$CC CFLAGS="-g -Wall -O2 -I$PREFIX/include -L$PREFIX/lib" mkdir -p $PREFIX/bin mv samtools $PREFIX/bin mv bcftools/bcftools $PREFIX/bin diff --git a/recipes/samtools/0.1.19/meta.yaml b/recipes/samtools/0.1.19/meta.yaml index 65c3cab8f4be7..4bb1df6c926f6 100644 --- a/recipes/samtools/0.1.19/meta.yaml +++ b/recipes/samtools/0.1.19/meta.yaml @@ -1,3 +1,4 @@ +{% set name = "samtools" %} package: name: samtools version: 0.1.19 @@ -7,8 +8,11 @@ source: url: https://github.com/samtools/samtools/archive/refs/tags/0.1.19.tar.gz build: - number: 11 - + number: 12 + skip: True # [osx] + run_exports: + - {{ pin_subpackage(name, max_pin="x") }} + requirements: build: - make @@ -30,5 +34,8 @@ about: summary: Tools for dealing with SAM and BAM files extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 identifiers: - biotools:samtools