diff --git a/recipes/r-airr/build.sh b/recipes/r-airr/build.sh new file mode 100644 index 0000000000000..addd4f5d649f7 --- /dev/null +++ b/recipes/r-airr/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash +if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then + export DISABLE_AUTOBREW=1 + $R CMD INSTALL --build . +else + mkdir -p $PREFIX/lib/R/library/airr + mv * $PREFIX/lib/R/library/airr +fi diff --git a/recipes/r-airr/meta.yaml b/recipes/r-airr/meta.yaml new file mode 100644 index 0000000000000..54d115276d7b7 --- /dev/null +++ b/recipes/r-airr/meta.yaml @@ -0,0 +1,51 @@ +{% set version = '1.2.0' %} + +package: + name: r-airr + version: {{ version|replace("-", "_") }} + +source: + url: + - {{ cran_mirror }}/src/contrib/airr_{{ version }}.tar.gz + - {{ cran_mirror }}/src/contrib/Archive/airr/airr_{{ version }}.tar.gz + sha256: 306cd7084b1ef0617af62e5815df538f2dcd6d6aaabb593df6f579e8ab5c5cef + +build: + number: 0 + noarch: generic + rpaths: + - lib/R/lib/ + - lib/ + +requirements: + host: + - r-base + - r-readr + - r-stringi + - r-yaml + run: + - r-base + - r-readr + - r-stringi + - r-yaml + +test: + commands: + - $R -e "library('airr')" + +about: + home: http://docs.airr-community.org + license: CC BY 4.0 + summary: Schema definitions and read, write and validation tools for data formatted in accordance + with the AIRR Data Representation schemas defined by the AIRR Community . + license_family: CC + +extra: + recipe-maintainers: + - johanneskoester + - bgruening + - daler + - jdblischak + - cbrueffer + - dbast + - PertuyF