mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
30 lines
422 B
Bash
30 lines
422 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf elfutils-0.187.tar.bz2
|
|
cd elfutils-0.187
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-debuginfod \
|
|
--enable-libdebuginfod=dummy
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make -C libelf install
|
|
install -vm644 config/libelf.pc /usr/lib/pkgconfig
|
|
rm /usr/lib/libelf.a
|
|
|
|
cd /sources
|
|
rm -rf elfutils-0.187
|