OSDN Git Service

2f7eb910e676e821852d7a12f921cc006ea9e59c
[mingw/mingw-dist.git] / mingw32 / mingw32-mingw-get.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <software-distribution project="MinGW" home="http://www.mingw.org" issue="@YYYYMMDDNN@">
3
4   <!-- File: mingw32-mingw-get.xml ~~ mingw-get self-upgrade manifest -->
5
6   <package-collection subsystem="mingw32">
7     <download-host uri="https://osdn.net/dl/mingw/%F" />
8
9     <package name="mingw32-mingw-get" alias="mingw-get">
10       <affiliate group="MinGW Base System" />
11
12       <description lang="en" title="MinGW Package Download and Installation Tool">
13         <paragraph>mingw-get is a tool to assist users in the management of MinGW
14           and MSYS software installations.  Configured via an online XML database,
15           which is managed by the project maintainers, it offers a choice of
16           command line and graphical user interfaces, facilitating selective
17           download and installation of packages provided by the project.
18         </paragraph>
19         <paragraph>The XML database provides maintainers with a mechanism for the
20           specification of inter-package dependencies; this permits configuration
21           of any package, such that the end user may elect to install just that
22           specific package, leaving mingw-get to ensure that all dependencies will
23           be automatically satisfied at installation time.
24         </paragraph>
25       </description>
26
27       <component class="bin">
28         <description lang="en">
29           <paragraph>This package provides the binary components which are
30             required to run mingw-get as a command line tool, together with
31             components which are common to both command line and graphical user
32             interfaces.  If you prefer a graphical user interface, you should
33             install mingw32-mingw-get-gui in addition to this package.
34           </paragraph>
35         </description>
36
37         <release tarname="mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz" />
38
39         <action class="post-install">
40           setup = require "setup"
41           print( " running post-install hooks for mingw-get-bin" )
42           setup.create_shortcuts(
43             '--description="MinGW Installation Manager"',
44             setup.libexec_path( "guistub.exe" ), "mingw-get"
45           )
46         </action>
47         <action class="pre-remove">
48           setup = require "setup"
49           print( " running pre-remove hooks for mingw-get-bin" )
50           setup.delete_shortcuts(
51             "--if-linked="..setup.libexec_path( "gui.exe" ),
52             "--force", "mingw-get"
53           )
54           setup.delete_shortcuts(
55             "--if-linked="..setup.libexec_path( "guistub.exe" ),
56             "--force", "mingw-get"
57           )
58         </action>
59       </component>
60
61       <component class="gui">
62         <description lang="en">
63           <paragraph>This package augments mingw32-mingw-get-bin, providing a
64             graphical user interface to mingw-get.
65           </paragraph>
66         </description>
67
68         <requires eq="mingw-get-%-mingw32-%-bin.tar" />
69
70         <release tarname="mingw-get-0.6.3-mingw32-pre-20170905-1-gui.tar.xz" />
71
72         <action class="post-install">
73           setup = require "setup"
74           print( " running post-install hooks for mingw-get-bin" )
75           setup.create_shortcuts(
76             '--description="MinGW Installation Manager"',
77             setup.libexec_path( "guimain.exe" ), "mingw-get"
78           )
79         </action>
80         <action class="pre-remove">
81           setup = require "setup"
82           print( " running pre-remove hooks for mingw-get-bin" )
83           setup.delete_shortcuts(
84             "--if-linked="..setup.libexec_path( "guimain.exe" ),
85             "--force", "mingw-get"
86           )
87         </action>
88       </component>
89
90       <component class="lic">
91         <release tarname="mingw-get-0.6.3-mingw32-pre-20170905-1-lic.tar.xz" />
92       </component>
93     </package>
94
95     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
96
97     <package name="mingw32-pkginfo" alias="pkginfo">
98       <description lang="en" title="MinGW Package Identification Tool">
99         <paragraph>pkginfo is a tool which may be used to parse and analyse
100           the names of packages provided by the MinGW/MSYS Project.  It uses
101           the same lexical analyser as mingw-get, to extract meta-data from
102           any specified package name.
103         </paragraph>
104         <paragraph>It is primarily of interest to members of the MinGW/MSYS
105           Project Team, who may use it to confirm that their chosen package
106           names convey the intended meta-data to mingw-get.
107         </paragraph>
108       </description>
109
110       <licence tarname="mingw-get-%-mingw32-%-lic.tar.%" />
111       <source tarname="mingw-get-%-mingw32-%-src.tar.%" />
112
113       <component class="bin">
114         <release tarname="pkginfo-0.6.3-mingw32-pre-20170905-1-bin.tar.xz" />
115       </component>
116     </package>
117
118   </package-collection>
119 </software-distribution>
120 <!-- vim: set nocompatible expandtab fileformat=unix textwidth=82 tabstop=2 shiftwidth=2: -->