Skip to content

Commit

Permalink
Add recipe for stxtyper v1.0.25 (#51792)
Browse files Browse the repository at this point in the history
* Add recipe for stxtyper v1.0.25

* add sha256
  • Loading branch information
mencian authored Oct 29, 2024
1 parent 577849b commit 09ddc87
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/stxtyper/build.sh
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}"
36 changes: 36 additions & 0 deletions recipes/stxtyper/meta.yaml
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

0 comments on commit 09ddc87

Please sign in to comment.