tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Tweaking installation of R packages
Hi,
it's sometimes required to add additional flags to R CMD INSTALL. Particularly,
Rgraphviz [1] package that I'm currently working on requires --configure-args
for setting graphviz path. It seem overkill to create a framework for these
options so how about just passing them to R_PKG_INSTALL_ARGS?
RCS file: /cvsroot/pkgsrc/math/R/Makefile.extension,v
retrieving revision 1.17
diff -u -r1.17 Makefile.extension
--- Makefile.extension 11 Sep 2012 23:04:16 -0000 1.17
+++ Makefile.extension 31 Dec 2012 17:23:54 -0000
@@ -31,7 +31,7 @@
R_LIB= lib/R/library
R_INST_DIRS?= ${R_PKGNAME}
R_HOMEPAGE_BASE= http://cran.r-project.org/web/packages
-R_PKG_INSTALL_ARGS= -l ${DESTDIR}${PREFIX}/${R_LIB}
+R_PKG_INSTALL_ARGS+= -l ${DESTDIR}${PREFIX}/${R_LIB}
GENERATE_PLIST+= ( cd ${DESTDIR}${PREFIX}; for dir in ${R_INST_DIRS}; do
\
${FIND} ${R_LIB}/$${dir} \( -type f -o -type l \) -print; done ) |
${SORT} -u;
--
Mishka
[1] http://www.bioconductor.org/packages/release/bioc/html/Rgraphviz.html
Home |
Main Index |
Thread Index |
Old Index