Skip to content

Commit

Permalink
updated recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Oct 2, 2024
1 parent ec3210b commit 414b5bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 0 additions & 9 deletions recipes/recipes_emscripten/r-matrix/build.sh

This file was deleted.

10 changes: 8 additions & 2 deletions recipes/recipes_emscripten/r-matrix/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ context:

package:
name: ${{ name }}
version: ${{ version }}
version: ${{ version|replace('-', '_') }}

source:
url:
Expand All @@ -15,10 +15,16 @@ source:

build:
number: 0
script:
- $R CMD INSTALL $R_ARGS --no-byte-compile .
- rm $PREFIX/lib/R/library/grDevices/libs/cairo.so
- rm $PREFIX/lib/R/library/tcltk/libs/tcltk.so
# The activation script of cross-r-base copies cairo and tcltk from
# the build environment.

requirements:
build:
- r-base == ${{ r_base_version }}
- cross-r-base >= ${{ r_base_version }}
- r-lattice
- ${{ compiler('c') }}
host:
Expand Down

0 comments on commit 414b5bd

Please sign in to comment.