1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# `stringi` configure.win
# (C) 2015-2018 Marek Gagolewski
# this is an architecture-independent configure.win file
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e '
fin <- "src/uconfig_local.h.in";
fout <- "src/uconfig_local.h";
f <- readLines(fin);
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE);
f <- gsub("@ICUDT_DIR@", "icu61/data", f, fixed = TRUE);
f <- gsub("@ICU_BUNDLE_VERSION@", "61", f, fixed = TRUE);
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
writeLines(f, fout);
' `
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e '
fin <- "src/install.libs.R.in";
fout <- "src/install.libs.R";
f <- readLines(fin);
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE);
f <- gsub("@ICUDT_DIR@", "icu61/data", f, fixed = TRUE);
f <- gsub("@ICU_BUNDLE_VERSION@", "61", f, fixed = TRUE);
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
writeLines(f, fout);
' `
|