Docbook: Use cyg-get for download Packages

Chocolatey don't support --source cygwin on 0.9.9.x ...
https://github.com/chocolatey/choco/wiki/CommandsInstall#alternative-sources

Change-Id: Ifa3f0fa0a6cbb88537c727bf64e06dce9916dbb2
Reviewed-on: https://code.wireshark.org/review/12069
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Alexis La Goutte 2015-11-23 14:21:43 +01:00 committed by Gerald Combs
parent 8fd6a4a7c5
commit e3ed5a2b16
2 changed files with 10 additions and 4 deletions

View File

@ -220,11 +220,17 @@ Alternatively you can install Cygwin and its packages using Chocolatey:
----
PS$>choco install cygwin
PS$>choco install cyg-get
PS$>choco install sed asciidoc [...] -source cygwin
//PS$>choco install sed asciidoc [...] -source cygwin
----
Chocolatey installs Cygwin in 'C:\tools\cygwin' by default.
You can directly download packages via cyg-get
----
PS$>cyg-get asciidoc patch docbook-xml45 [...]
----
You can use Chocolatey's Win flex-bison packages rather than the Cygwin
Bison and Flex package:

View File

@ -173,10 +173,10 @@ PS$>choco install cyg-get
Chocolatey installs Cygwin in 'C:\tools\cygwin' by default.
One or more Cygwin packages can be installed using "-source cygwin":
One or more Cygwin packages can be installed using "cyg-get":
----
PS$>choco install sed asciidoc -source cygwin
PS$>cyg-get sed asciidoc
----
[[ChToolsGNUChain]]
@ -821,7 +821,7 @@ and as the sed package from the
// XXX Is sed part of the base Cygwin install?
----
PS$>choco install sed -source cygwin
PS$>cyg-get sed
----
If sed isn't already installed or available