Add and document R-cran build style; support CRAN in update-check.
This commit is contained in:
parent
9a5b3d447e
commit
f2c0f7885e
4 changed files with 20 additions and 0 deletions
7
common/build-style/R-cran.sh
Normal file
7
common/build-style/R-cran.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# This helper is for templates using R-cran.
|
||||
#
|
||||
do_install() {
|
||||
mkdir -p ${DESTDIR}/usr/lib/R/library
|
||||
( cd .. && R CMD INSTALL -l ${DESTDIR}/usr/lib/R/library ${pkgname#R-cran-} )
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue