Difference between revisions of "Libarchive"

From CBLFS
Jump to navigationJump to search
m
 
Line 101: Line 101:
 
|is a programming library that can create and read several different streaming archive formats.
 
|is a programming library that can create and read several different streaming archive formats.
 
|}
 
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 11:17, 25 January 2009

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.