diff --git a/recipes/chum/build.sh b/recipes/chum/build.sh new file mode 100644 index 0000000000000..07cfe222b13ad --- /dev/null +++ b/recipes/chum/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash -e + +export BINDGEN_EXTRA_CLANG_ARGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" + +RUST_BACKTRACE=1 + +export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration" + +cargo-bundle-licenses --format yaml --output THIRD + +cargo install --no-track --verbose --root "${PREFIX}" --path . diff --git a/recipes/chum/meta.yaml b/recipes/chum/meta.yaml new file mode 100644 index 0000000000000..aaeb3826f9b96 --- /dev/null +++ b/recipes/chum/meta.yaml @@ -0,0 +1,49 @@ +{% set name = "chum" %} +{% set version = "0.2.0" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: https://github.com/clintval/{{ name }}/archive/{{ version }}.tar.gz + sha256: 9316163042a38d8103914c59d7dc19b20f44a1735019480368d48cfc6f55edf0 + +build: + number: 0 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + +requirements: + build: + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - {{ compiler('rust') }} + - cargo-bundle-licenses + - clangdev + - pkg-config + - make + - cmake + run: + - blast >=2.0 + - viennarna >=2.0 + +test: + commands: + - {{ name }} --help + +about: + home: "https://github.com/clintval/{{ name }}" + license: MIT + license_family: MIT + license_file: LICENSE + summary: "Evaluate the effectiveness of baits in a hybrid selection panel." + dev_url: "https://github.com/clintval/{{ name }}" + doc_url: "https://github.com/clintval/{{ name }}/blob/{{ version }}/README.md" + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 + recipe-maintainers: + - clintval