ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/libarchive/3.2.1/INSTALL
Revision: 9167
Committed: Fri Oct 14 02:44:04 2016 UTC (7 years, 6 months ago) by laffer1
File size: 1465 byte(s)
Log Message:
tag 3.2.1

File Contents

# Content
1 More complete build documentation is available on the libarchive
2 Wiki: https://github.com/libarchive/libarchive/wiki
3
4 On most Unix-like systems, you should be able to install libarchive,
5 bsdtar, and bsdcpio using the following common steps:
6 ./configure
7 make
8 make install
9
10 If you need to customize the target directories or otherwise adjust
11 the build setting, use
12 ./configure --help
13 to list the configure options.
14
15 If you are developing libarchive and need to update the
16 configure script and other build files:
17 /bin/sh build/autogen.sh
18
19 To create a distribution, please use the 'distcheck' target:
20 /bin/sh build/autogen.sh && ./configure && make distcheck
21
22 On Unix-like and non-Unix-like systems, use the "cmake" utility (available from
23 http://cmake.org/) to generate suitable build files for your platform.
24 Cmake requires the name of the directory containing CmakeLists.txt and
25 the "generator" to use for your build environment. For example, to
26 build with Xcode on Mac OS, you can use the following command:
27 cmake -G "Xcode" ~/libarchive-download-dir/
28 The result will be appropriate makefiles, solution files, or project
29 files that can be used with the corresponding development tool.
30 The default on Unix-like systems is to generate Makefiles, so you
31 can also use cmake instead of the configure script:
32 cmake ~/libarchive-download-dir/
33 make
34 make install
35 See the libarchive Wiki or the cmake site for further documentation.