1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/libarchive/INSTALL
Tim Kientzle bfe891b141 libarchive now has two complete build systems. The usual "Makefile"
is present for FreeBSD.  If you "make distfile" on FreeBSD, you will
soon have a tar.gz file suitable for deploying to other systems
(complete with the expected "configure" script, etc).  This latter
relies (at least for now) on the GNU auto??? tools.  (I like autoconf
okay, but someday I hope to write a custom Makefile.in and dispense
with automake, which is somewhat odious.)

As part of this, I've cleaned up some of the conditional
compilation options, added make-foo to construct archive.h dynamically
(it now contains some version constants), and added some useful
informational files.
2004-08-07 03:09:28 +00:00

40 lines
1.0 KiB
Plaintext

How you install this depends on which distribution you
are using and what target you're compiling for:
FROM A PACKAGED DISTRIBUTION TO ANY SYSTEM
If you unpacked this from a tar.gz archive and have a "configure"
file, then you should be able to install it using the following common
steps:
./configure
make
make install
If you need to customize the target directories, use
./configure --help
to list the configure options.
FROM CVS TO FreeBSD
The source code from the FreeBSD CVS server can be
compiled as-is on any FreeBSD system, just use:
make
make install
FROM CVS TO A PACKAGED DISTRIBUTION
The source code from the FreeBSD CVS server can be used
to build a tar.gz archive suitable for later installation on
any system. You'll need the following GNU tools installed:
autoconf (including aclocal and autoheader)
automake
You should be able to use the following command to build a distribution:
make distfile
The result will be a file named libarchive-<version>.tar.gz in
the object directory.
$FreeBSD$