diff --git a/recipes/fqgrep/build.sh b/recipes/fqgrep/build.sh new file mode 100644 index 0000000000000..403679dd60ea7 --- /dev/null +++ b/recipes/fqgrep/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash -e + +# TODO: Remove the following export when pinning is updated and we use +# {{ compiler('rust') }} in the recipe. +export \ + CARGO_NET_GIT_FETCH_WITH_CLI=true \ + CARGO_HOME="${BUILD_PREFIX}/.cargo" + +export BINDGEN_EXTRA_CLANG_ARGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" + +cargo install --no-track --verbose --root "${PREFIX}" --path . diff --git a/recipes/fqgrep/meta.yaml b/recipes/fqgrep/meta.yaml new file mode 100644 index 0000000000000..87666f474a06e --- /dev/null +++ b/recipes/fqgrep/meta.yaml @@ -0,0 +1,36 @@ +{% set version = "0.1.0" %} + +package: + name: fqgrep + version: {{ version }} + +build: + number: 0 + +source: + url: https://github.com/fulcrumgenomics/fqgrep/archive/v{{ version }}.tar.gz + sha256: 662c5e67cebd9e6d266f201ec45548c903b2f194ad1eb4185f6fe75eed36be9a + +requirements: + build: + - {{ compiler('cxx') }} + - rust >=1.60 + - pkg-config + - make + - cmake + host: + run: + +test: + commands: + - fqgrep --help + +about: + home: https://github.com/fulcrumgenomics/fqgrep + license: MIT + license_file: LICENSE + summary: Search a pair of fastq files for reads that match a given ref or alt sequence + +extra: + recipe-maintainers: + - nh13