arcspkg manpage

NAME

arcspkg ARCS package manager

SYNOPSIS

arcspkg -b|-h|-i packageName|-I [-s] [-Dsetting=value]...

DESCRIPTION

arcspkg is a light package manager for ARCS. Packages are component libraries. It can install packages from a remote source or build a special file repository for packages.

OPTIONS

-h
: prints a short help summary.
-b
: builds a repository.
-i package
: installs the designated package
-I
: installs all packages from remote repository.
-s
: store settings
-Dsetting=value
: defines the value of a particular setting.
Note that is the option -s is not used, the value will be set only for this run of arcspkg.

SETTINGS

repositoryFile
: name of the file needed to build a repository (by default REPOSITORY )
repositoryPath
: path where packages are stored when building a repository (see -b option)
repositoryUrl
: remote URL where packages are stored.
compressCommand
: command line used to compress files of the packages. Note that a will be the name of the archive (package) and p will be the name of the file/path to store in the archive (package). By default, zip is used as a compressor.
unCompressCommand
: command line used to uncompress files of the packages. This setting also uses a for the archive name. By default unzip is used as a decompressor.
archiveExtension
: extension of the packages (by default .zip is used).
sourcePath
: path where library components are stored. If an environment variable named ARCSBUILDPATH exists, then this setting will take its value.

EXAMPLES

arcspkg -I
installs all available packages.
arcspkg -i toto
installs the package (component library) named toto.
arcspkg -i toto -DrepositoryURL=http://remote.org/repository/path
installs the package toto from a specific remote repository.
arcspkg -i toto -s -DrepositoryURL=http://remote.org/path/
installs the package toto from http://remote.org/path and store the setting for a next use.

NOTES

If some settings are empty, arcspkg will automatically drop a prompt asking for the corresponding value.

arcspkg supports several protocols, including http, https and ftp for retrieving remote packages.

AUTHOR

Jean-Yves Didier