Libarchive

From CBLFS
Jump to navigationJump to search
Download Source: http://people.freebsd.org/~kientzle/libarchive/src/libarchive-2.4.17.tar.gz

Introduction to Libarchive

Libarchive is a programming library that can create and read several different streaming archive formats.

Project Homepage: http://people.freebsd.org/~kientzle/libarchive/

Configuration Information

Caution.png

Note

bsdtar and bsdcpio are the actual names of the programs. They will not overwrite the tar and cpio binaries that you may already have installed.
--disable-bsdtar: Disable building the bsdtar program.
--disable-bsdcpio: Disable building the bsdcpio program.

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-bsdtar --enable-bsdcpio &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" \
./configure --prefix=/usr  --enable-bsdtar --enable-bsdcpio &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32  --enable-bsdtar --enable-bsdcpio &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64  --enable-bsdtar --enable-bsdcpio &&
make

Install the package:

make install

Contents

Installed Directories: None
Installed Programs: bsdtar, bsdcpio
Installed Libraries: libarchive.{a,la,so}

Short Descriptions

bsdtar is an archiving program is built on libarchive.
bsdcpio is an archiving program is built on libarchive.
libarchive is a programming library that can create and read several different streaming archive formats.