Skip to content

Commit

Permalink
R coenocliner (#10127)
Browse files Browse the repository at this point in the history
* Add r-coenocliner

* modified maintainers
  • Loading branch information
nick-youngblut authored Jul 29, 2018
1 parent ab1ab24 commit 0450665
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes/r-coenocliner/build.sh
Original file line number Diff line number Diff line change
@@ -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/coenocliner
mv * $PREFIX/lib/R/library/coenocliner
fi
39 changes: 39 additions & 0 deletions recipes/r-coenocliner/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set version = '0.2-2' %}
{% set posix = '' %}
{% set native = '' %}

package:
name: r-coenocliner
version: {{ version|replace("-", "_") }}

source:
url: {{ cran_mirror }}/src/contrib/coenocliner_{{ version }}.tar.gz
sha256: ae558be071d6362e48e942658bff35c21c80ac5c4af12b6b67a189ad46069064

build:
number: 0
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
host:
- r-base
run:
- r-base

test:
commands:
- $R -e "library('coenocliner')"

about:
home: https://github.com/gavinsimpson/coenocliner/
license: GPL-2
summary: Simulate species occurrence and abundances (counts) along gradients.
license_family: GPL2
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

extra:
recipe-maintainers:
- nick-youngblut

0 comments on commit 0450665

Please sign in to comment.