Subversion Repositories SvarDOS

Rev

Rev 1883 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1879 mateusz.vi 1
 
1883 mateusz.vi 2
              PKG - the package manager for the SvarDOS system
3
 
4
 
5
*** GENERAL INFORMATION ***
6
 
1879 mateusz.vi 7
PKG installs, updates and removes software *.SVP packages. Such packages are
1883 mateusz.vi 8
distributed with the SvarDOS system and may also be obtained with PKGNET from
9
the online SvarDOS repository.
1879 mateusz.vi 10
 
11
PKG is configured through the %DOSDIR%\CFG\PKG.CFG configuration file. This
12
file provides information about the directories where packages have to be
13
installed. An example is shown at the bottom of this file below.
14
 
15
PKG can display its messages in a variety of languages. To select its language,
16
it looks at the %LANG% environment variable (for example "SET LANG=PL") and
17
loads translated messages from its PKG.LNG language file, that should be in the
18
same directory as PKG.EXE. If the LNG file cannot be found, or if the %LANG%
19
variable points at a language that is not supported by PKG, then all messages
20
are displayed in english.
21
 
1883 mateusz.vi 22
 
23
*** LICENSE ***
24
 
25
PKG is published under the terms of the MIT license.
26
 
27
Copyright (C) 2016-2024 Mateusz Viste
28
 
29
Permission is hereby granted, free of charge, to any person obtaining a copy
30
of this software and associated documentation files (the "Software"), to deal
31
in the Software without restriction, including without limitation the rights
32
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33
copies of the Software, and to permit persons to whom the Software is
34
furnished to do so, subject to the following conditions:
35
 
36
The above copyright notice and this permission notice shall be included in all
37
copies or substantial portions of the Software.
38
 
39
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
SOFTWARE.
46
 
47
 
48
*** EXAMPLE CONFIGURATION FILE ***
49
 
1879 mateusz.vi 50
##############################################################################
51
# EXAMPLE PKG.CFG                                                            #
52
# Lines starting with "#" are comments and are ignored by PKG                #
53
##############################################################################
54
 
1892 mateusz.vi 55
# The system's boot drive, used to install the DOS kernel, COMMAND.COM etc
56
BOOTDRIVE C
57
 
1879 mateusz.vi 58
# Where SvarDOS "CORE" files are to be installed
59
DIR BIN C:\SVARDOS
60
 
61
# Games
62
DIR GAMES C:\GAMES
63
 
64
# Programs, utilities
65
DIR PROGS C:\
66
 
67
# Drivers
68
DIR DRIVERS C:\DRIVERS
69
 
70
# Development tools (compilers, linkers, disassemblers...)
71
DIR DEVEL C:\DEVTOOLS
72
 
73
##############################################################################