-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14282d9
commit e8386a5
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |