The cpio package contains tools for archiving.
Download (HTTP): http://ftp.gnu.org/pub/gnu/cpio/cpio-2.7.tar.bz2
Download (FTP): ftp://ftp.gnu.org/pub/gnu/cpio/cpio-2.7.tar.bz2
Download MD5 sum: 69ad6cb3d288aafe5f969f68d9fd0fb7
Download size: 698 KB
Estimated disk space required: 10 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cpio
Install cpio by running the following commands:
./configure CPIO_MT_PROG=mt \
--prefix=/usr \
--bindir=/bin \
--libexecdir=/tmp \
--with-rmt=/usr/sbin/rmt &&
make
If you have teTeX-3.0 installed and wish to create alternate forms of the documentation, issue the any or all of the following commands:
make -C doc pdf && make -C doc ps && texi2html -o doc/cpio.html doc/cpio.texi && makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi
To test the results, issue make check
Now, as the root user:
make install
If you built any of the alternate forms of documentation, install
it by issuing the following commands as the root user:
install -v -m755 -d /usr/share/doc/cpio-2.7 &&
install -v -m644 doc/cpio.{pdf,ps,dvi,html,txt} \
/usr/share/doc/cpio-2.7
CPIO_MT_PROG=mt: This
parameter forces the building and installation of the mt program.
--bindir=/bin: This
parameter installs cpio to /bin instead of /usr/bin as recommended by the FHS guidelines.
--libexecdir=/tmp: This
parameter is used so that /usr/libexec is not created.
--with-rmt=/usr/sbin/rmt:
This parameter inhibits building the rmt program as it is already
installed by the Tar package in
LFS.
Last updated on 2007-04-04 21:42:53 +0200