Table of Contents
You need a UNIX-like system for list2pkg to work. I have tested it on GNU/Linux, but other systems should work as well. You will also need root access on that system, since otherwise some ownership information might not be correctly preserved.
list2pkg relies on a few external tools to do its job properly. Most of them should already be installed on your system. They are listed below.
The Slackware pkgtools (actually, you only need makepkg) which you can download from any slackware mirror
The GNU Coreutils to do the installation
First, extract the list2pkg tarball and cd to it.
$
tar -xf<Your .tar.gz file>
$
cd<filename without .tar.gz>
If you have downloaded a release tarball, you should skip this step, since the html and man documentation has already been compiled for you. Otherwise, you can build the documentation by doing the following.
$
./helpers/build-doc.sh .
Installing list2pkg is very simple: you just have to invoke
the install.sh
script. First, you must choose where you
want list2pkg installed. There are several variables you can give to the
installation script to change that.
PREFIX
: The installation prefix, defaulting
to /usr/local
. All list2pkg files will be installed
there.
SYSCONFDIR
: The system configuration directory,
defaulting to ${PREFIX}/etc
. The list2pkg
configuration file will be installed there.
DOCDIR
: Where list2pkg's documentation will be
installed. It defaults to ${PREFIX}/share/doc
MANDIR
: Where list2pkg's manpages will be
installed. It defaults to ${PREFIX}/share/man
For example, to install list2pkg in a /usr
prefix and
the configuration file in /etc
, you can do
$
sudo PREFIX=/usr SYSCONFDIR=/etc ./install.sh