diff --git a/recipes/recipes_emscripten/r-pkgconfig/build.sh b/recipes/recipes_emscripten/r-pkgconfig/build.sh new file mode 100644 index 000000000..e8b1aaf25 --- /dev/null +++ b/recipes/recipes_emscripten/r-pkgconfig/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +echo "R_HOME=\$(PREFIX)/lib/R" > $BUILD_PREFIX/lib/R/etc/Makeconf +cat $PREFIX/lib/R/etc/Makeconf >> $BUILD_PREFIX/lib/R/etc/Makeconf + +$BUILD_PREFIX/bin/R CMD INSTALL . \ + --no-test-load --no-byte-compile --library=$PREFIX/lib/R/library \ No newline at end of file diff --git a/recipes/recipes_emscripten/r-pkgconfig/recipe.yaml b/recipes/recipes_emscripten/r-pkgconfig/recipe.yaml new file mode 100644 index 000000000..51b6ecae4 --- /dev/null +++ b/recipes/recipes_emscripten/r-pkgconfig/recipe.yaml @@ -0,0 +1,43 @@ +context: + name: r-pkgconfig + version: 2.0.3 + r_base_version: 4.4.1 + +package: + name: ${{ name }} + version: ${{ version }} + +source: + url: + - https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz + - https://cloud.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz + sha256: 330fef440ffeb842a7dcfffc8303743f1feae83e8d6131078b5a44ff11bc3850 + +build: + number: 0 + +requirements: + build: + - r-base == ${{ r_base_version }} + host: + - r-base == ${{ r_base_version }} + run: + - r-base == ${{ r_base_version }} + +# tests: +# - package_contents: +# lib: +# - R/library/${{ name[2:] }}/libs/${{ name[2:] }}.so + +about: + homepage: https://github.com/r-lib/pkgconfig + license: MIT + license_family: MIT + license_file: LICENSE + summary: Set configuration options on a per-package basis. Options set by a given package only + apply to that package, other packages are unaffected. + +extra: + recipe-maintainers: + - IsabelParedes + - anutosh491