# Set the package we're building. package="elfutils-0.191" extension=".tar.bz2" # Decompress the source. echo "Unpacking ${package}${extension} ..." tar xvf ${package}${extension} # Enter the unpacked sources. echo "Entering ${package} directory ..." cd ${package} # LFS commands. ./configure --prefix=/usr \ --disable-debuginfod \ --enable-libdebuginfod=dummy make make check make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig rm /usr/lib/libelf.a # Exit sources directory. echo "Exiting ${package} directory ..." cd .. # Remove the directory of source files. echo "Removing ${package} directory ..." rm -rf ${package}