X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tags%2Fpre-dual%2Finst%2Fdoc%2FDEPENDS;fp=tags%2Fpre-dual%2Finst%2Fdoc%2FDEPENDS;h=471f24011c41f87c59cc66e03def3126791e58a2;hb=ab9547f1dd3779e34528a7a638ed085d5b9c5e26;hp=0000000000000000000000000000000000000000;hpb=4baac28764128067cb2fd6343321e7e0f522bdfd;p=cran2deb.git diff --git a/tags/pre-dual/inst/doc/DEPENDS b/tags/pre-dual/inst/doc/DEPENDS new file mode 100644 index 0000000..471f240 --- /dev/null +++ b/tags/pre-dual/inst/doc/DEPENDS @@ -0,0 +1,33 @@ +A dependency alias (created in populated_depend_aliases) is some name (such as +java) and some associated run and build time dependencies, specified like this: + + alias_build java openjdk-6-jdk + alias_build java libgcj9-dev + alias_run java openjdk-6-jre + +So when cran2deb needs to use the 'java' build dependency, it will add +"openjdk-6-jdk, libgcj9-dev" to the Build-Depends:. alias_run deals with +Depends: only. +Since in Debian you cannot Build-Depend: upon build-essential, there is a +special 'ignore' dependency alias (this can be handy for dropping unnecessary +system requirements) + + alias_build ignore build-essential + +populate_forcedep contains like: + + force java rJava + +which forces the R package rJava to use the dependency alias 'java'. This is +for cases where there is no SystemRequirement. + +Finally, populate_sysreq has lines like: + + sysreq quantlib quantlib% + +This says, whenever a part of a SystemRequirement matches the SQL LIKE pattern +'quantlib%', use the dependency alias. SystemRequirements are converted to +lower case and messed around with; details are in R/debcontrol.R in the +sysreqs_as_debian function. R/debcontrol.R contains pretty much all of the code +for dependencies (the database interface code is in R/db.R). +