www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/15/09:04:13

Message-ID: <373CC051.C3E1F919@meridian22.net>
Date: Sat, 15 May 1999 01:31:13 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,de-DE,fr-FR
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: DSM/scripting spec, version 0.1
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Here's the first draft of the DSM spec. DSM could also stand for DJGPP
Scripting Manifest. I've added a few fields to DJ's suggestions. I think I
remembered everything. Most of the fields are self-desciptive, so I
haven't commented it much.

I was writing the installer so that one could specify the DJGPP root
directory and the installation directory separately, using --root and
--prefix options respectively. That way the program can cope with multiple
install databases, for people with multiple versions of DJGPP (like me). I
was thinking that the program could store its database in
[ROOT]/etc/zippodb or something similar.

Bye.

DJGPP Software Map (DSM) / Installer Scripting Specification 0.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Descriptive Fields
------------------

name: [package name]
version: [version number]
source: [source package name]
documentation: [document package name]
short-description: [One line of text]
long-description: [Multiple lines of text]
organisation: [e.g. FSF]
author:
author-email:
author-icq:
web-site: [Software's home page]
ftp-site:
porter:
porter-email:
porter-icq:
porting-web-site:
porting-ftp-site:
mailing-list-administrator:
mailing-list-administrator-email:
mailing-list-administrator-icq:
mailing-list-web-site:
mailing-list-ftp-site:

Installation & Dependencies
---------------------------

simtelnet-path: [e.g. v2tk/ - this is for auto-FTP or HTTP downloading]
zip: [File names in preferred order of installation]
zip-options:
tar-gzip: [File names in preferred order of installation]
tar-gzip-options:
pre-install-script: [File name, extracted from zip/tgz]
post-install-script: [File name]
pre-uninstall-script: [File name]
post-uninstall-script: [File name]
long-filename-script: [File name]
short-filename-script: [File name]

prefix: [Directory of DJGPP root if zip not structured correctly]

    [Operator] can be any of the C operators  ==, =<, >=, !=, <, >.
    Optionally, we could allow '=' as an equality test. Omission of
    [Operator] implies an equality test.

requires: [Package] [Operator] [Version]
depends-on: [Package] [Operator] [Version]
conflicts-with: [Package] [Operator] [Version]
replaces: [Packages] [Operator] [Version]
duplicate-action: [replace, backup-and-replace (or just 'backup'), keep,
                   skip, ask-user]

install-before: [Package] [Operator] [Version]
install-after: [Package] [Operator] [Version]
install-warning: [Message]

-- 
==========================================================================
       Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
         richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==========================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019