diff --git a/recipes/stxtyper/build.sh b/recipes/stxtyper/build.sh new file mode 100644 index 0000000000000..8a9a0bcd92388 --- /dev/null +++ b/recipes/stxtyper/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +export INCLUDES="-I${PREFIX}/include" +export LIBPATH="-L${PREFIX}/lib" +export CXXFLAGS="${CXXFLAGS} -O3" +export CPPFLAGS="${CPPFLAGS} -O3 -I${PREFIX}/include" +export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" + +make CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" CPPFLAGS="${CPPFLAGS}" -j"${CPU_COUNT}" + +make install PREFIX="${PREFIX}" diff --git a/recipes/stxtyper/meta.yaml b/recipes/stxtyper/meta.yaml new file mode 100644 index 0000000000000..a6d1f4e54fd40 --- /dev/null +++ b/recipes/stxtyper/meta.yaml @@ -0,0 +1,36 @@ +{% set name = "stxtyper" %} +{% set version = "1.0.25" %} +{% set sha256 = "adc734340c6a10f1bfc34ca637197e93e1515d0231bd023b33ce4c07aab9578e" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/ncbi/stxtyper/archive/refs/tags/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + run_exports: + - {{ pin_subpackage('stxtyper', max_pin='x') }} + +requirements: + build: + - make + - {{ compiler('cxx') }} + host: + - zlib + run: + - blast + +test: + commands: + - "stxtyper -h" + +about: + home: https://github.com/ncbi/stxtyper + license: Public Domain + license_file: LICENSE + summary: 'Accurately type both known and unknown Shiga toxin operons from assembled genomic sequence.' + dev_url: https://github.com/ncbi/stxtyper