-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for stxtyper v1.0.25 (#51792)
* Add recipe for stxtyper v1.0.25 * add sha256
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |