-
Notifications
You must be signed in to change notification settings - Fork 0
/
devbox64.xml
95 lines (77 loc) · 3.58 KB
/
devbox64.xml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of Npackd.
Npackd is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Npackd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Npackd. If not, see <http://www.gnu.org/licenses/>.
-->
<root>
<spec-version>2</spec-version>
<!--
Licenses in alphabetical order (including the reversed domain name prefix).
-->
<license name="org.gnu.GPLv2">
<title>GPLv2</title>
<url>http://www.gnu.org/licenses/gpl.html</url>
</license>
<license name="org.gnu.GPLv3">
<title>GPLv3</title>
<url>http://www.gnu.org/licenses/gpl.html</url>
</license>
<license name="org.gnu.LGPLv2_1">
<title>LGPLv2.1</title>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</url>
</license>
<!--
Packages in alphabetical order (including the reversed domain name prefix).
-->
<package name="net.sourceforge.gnuwin32.Cpuid">
<title>CpuID</title>
<url>http://gnuwin32.sourceforge.net/packages/cpuid.htm</url>
<description>CPU identification utility</description>
<license>org.gnu.GPLv3</license>
</package>
<!--
The package versions are not sorted by the package, but different
version
of a package should stay together. Newer versions should appear under
older ones.
-->
<version name="3.3.1" package="net.sourceforge.gnuwin32.Cpuid" type="one-file">
<file path=".Npackd\Install.bat">
for /f "delims=" %%x in ('dir /b *.exe') do set setup=%%x
"%setup%" /SP- /VERYSILENT /NOCANCEL /NORESTART /DIR="%CD%" /SAVEINF="%CD%\.Npackd\InnoSetupInfo.ini" /LOG="%CD%\.Npackd\InnoSetupInstall.log"
set err=%errorlevel%
type .Npackd\InnoSetupInstall.log
if %err% neq 0 pause %err%
if "%npackd_cl%" equ "" set npackd_cl=..\com.googlecode.windows-package-manager.NpackdCL-1
set onecmd="%npackd_cl%\npackdcl.exe" "path" "--package=com.googlecode.windows-package-manager.CLU" "--versions=[1, 2)"
for /f "usebackq delims=" %%x in (`%%onecmd%%`) do set clu=%%x
"%clu%\clu" add-path --path "%CD%\bin"
verify
</file>
<file path=".Npackd\Uninstall.bat">
Uninstall\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG="%CD%\.Npackd\InnoSetupUninstall.log"
set err=%errorlevel%
type .Npackd\InnoSetupUninstall.log
if %err% neq 0 exit %err%
if "%npackd_cl%" equ "" set npackd_cl=..\com.googlecode.windows-package-manager.NpackdCL-1
set onecmd="%npackd_cl%\npackdcl.exe" "path" "--package=com.googlecode.windows-package-manager.CLU" "--versions=[1, 2)"
for /f "usebackq delims=" %%x in (`%%onecmd%%`) do set clu=%%x
"%clu%\clu" remove-path --path "%CD%\bin"
verify
</file>
<url>http://downloads.sourceforge.net/project/gnuwin32/cpuid/3.3-1/cpuid-3.3-1.exe</url>
<sha1>b038a21ea47231c371748ffa50093d7f79d8e2c8</sha1>
<dependency package="com.googlecode.windows-package-manager.NpackdCL" versions="[1.15.7, 2)"/>
<dependency package="com.googlecode.windows-package-manager.NpackdCL" versions="[1, 1]"/>
<dependency package="com.googlecode.windows-package-manager.CLU" versions="[1, 2)"/>
</version>
</root>