Blame INSTALL

Packit Service 1d0348
More complete build documentation is available on the libarchive
Packit Service 1d0348
Wiki:  https://github.com/libarchive/libarchive/wiki
Packit Service 1d0348
Packit Service 1d0348
On most Unix-like systems, you should be able to install libarchive,
Packit Service 1d0348
bsdtar, and bsdcpio using the following common steps:
Packit Service 1d0348
    ./configure
Packit Service 1d0348
    make
Packit Service 1d0348
    make install
Packit Service 1d0348
Packit Service 1d0348
If you need to customize the target directories or otherwise adjust
Packit Service 1d0348
the build setting, use
Packit Service 1d0348
    ./configure --help
Packit Service 1d0348
to list the configure options.
Packit Service 1d0348
Packit Service 1d0348
If you are developing libarchive and need to update the
Packit Service 1d0348
configure script and other build files:
Packit Service 1d0348
    /bin/sh build/autogen.sh
Packit Service 1d0348
Packit Service 1d0348
To create a distribution, please use the 'distcheck' target:
Packit Service 1d0348
    /bin/sh build/autogen.sh && ./configure && make distcheck
Packit Service 1d0348
Packit Service 1d0348
On Unix-like and non-Unix-like systems, use the "cmake" utility (available from
Packit Service 1d0348
http://cmake.org/) to generate suitable build files for your platform.
Packit Service 1d0348
Cmake requires the name of the directory containing CmakeLists.txt and
Packit Service 1d0348
the "generator" to use for your build environment.  For example, to
Packit Service 1d0348
build with Xcode on Mac OS, you can use the following command:
Packit Service 1d0348
    cmake -G "Xcode" ~/libarchive-download-dir/
Packit Service 1d0348
The result will be appropriate makefiles, solution files, or project
Packit Service 1d0348
files that can be used with the corresponding development tool.
Packit Service 1d0348
The default on Unix-like systems is to generate Makefiles, so you
Packit Service 1d0348
can also use cmake instead of the configure script:
Packit Service 1d0348
    cmake ~/libarchive-download-dir/
Packit Service 1d0348
    make
Packit Service 1d0348
    make install
Packit Service 1d0348
See the libarchive Wiki or the cmake site for further documentation.