From edd at debian.org  Fri Mar 22 18:01:08 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 22 Mar 2013 12:01:08 -0500
Subject: [Rd] Description depends line for windows only
In-Reply-To: <CAK_CNyYER1eH_ZFuQAJ=4kXTMD_4am1F=rzrM9Q-Dd1epQVmJA@mail.gmail.com>
References: <CAK_CNyYER1eH_ZFuQAJ=4kXTMD_4am1F=rzrM9Q-Dd1epQVmJA@mail.gmail.com>
Message-ID: <20812.36436.851687.48981@max.nulle.part>


On 22 March 2013 at 10:44, Andrew Redd wrote:
| I am developing a package that is only applicable on windows, is there a
| line I can put in the depends field of the DESCRIPTION file to tell that
| this should only be build for windows?

There is a different field for this. From Section 1.1.1 of you-know-what:

     The `OS_type' field specifies the OS(es) for which the package is
  intended.  If present, it should be one of `unix' or `windows', and
  indicates that the package can only be installed on a platform with
  `.Platform$OS.type' having that value.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] Description depends line for windows only
Dirk Eddelbuettel