diff --git a/recipes/probeit/build.sh b/recipes/probeit/build.sh index cc134d0f46aea..9b4fad08c2a0b 100644 --- a/recipes/probeit/build.sh +++ b/recipes/probeit/build.sh @@ -1,7 +1,15 @@ #!/bin/bash -$PYTHON -m pip install . --ignore-installed --no-deps -vv -cd probeit/setcover -make CXXFLAGS="${CXXFLAGS} -I. -O3 -std=c++14" -j $CPU_COUNT + +export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" +export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" +export CXXFLAGS="${CXXFLAGS} -I. -I${PREFIX}/include -O3 -std=c++14" + install -d "${PREFIX}/bin" -install setcover "${PREFIX}/bin/" -cd ../.. + +${PYTHON} -m pip install . --no-build-isolation --no-deps --no-cache-dir --use-pep517 -vvv + +cd probeit/setcover + +make CXXFLAGS="${CXXFLAGS}" -j"${CPU_COUNT}" + +install -v -m 0755 setcover "${PREFIX}/bin" diff --git a/recipes/probeit/meta.yaml b/recipes/probeit/meta.yaml index baa33fe9e4e0e..6b9a33138a496 100644 --- a/recipes/probeit/meta.yaml +++ b/recipes/probeit/meta.yaml @@ -5,14 +5,15 @@ package: name: probeit version: {{ version }} -build: - skip: true # [py2k] - number: 4 - source: - url: "https://github.com/steineggerlab/probeit/archive/refs/tags/v{{ version }}.tar.gz" + url: https://github.com/steineggerlab/probeit/archive/refs/tags/v{{ version }}.tar.gz sha256: {{ sha256 }} +build: + number: 5 + run_exports: + - {{ pin_subpackage('probeit', max_pin="x") }} + requirements: build: - {{ compiler('cxx') }} @@ -39,6 +40,13 @@ test: - probeit > /dev/null about: - home: https://github.com/steineggerlab/probeit - summary: "Probeit: a probe designer for detecting and genotyping pathogen!!!" - license: AGPL-3.0 + home: "https://github.com/steineggerlab/probeit" + summary: "Probeit: a probe designer for detecting and genotyping pathogen!" + license: "AGPL-3.0-or-later" + license_family: AGPL + dev_url: "https://github.com/steineggerlab/probeit" + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64