6.12.3. Contents of Sed
Installed program:
sed
The Sed package contains a stream editor.
This package requires compiler variables to be set for the target in the environment.
export CC="${CLFS_TARGET}-gcc"
export CXX="${CLFS_TARGET}-g++"
export AR="${CLFS_TARGET}-ar"
export AS="${CLFS_TARGET}-as"
export RANLIB="${CLFS_TARGET}-ranlib"
export LD="${CLFS_TARGET}-ld"
export STRIP="${CLFS_TARGET}-strip"
Prepare Sed for compilation:
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr --bindir=/bin
Compile the package:
make
Build the HTML documentation:
make html
Install the package:
make DESTDIR=${CLFS} install
Install the HTML documentation:
make -C doc DESTDIR=${CLFS} install-html