lfs-scripts/scripts/chapter8/8.22-attr.sh
2023-01-11 11:41:03 +05:30

30 lines
344 B
Bash

#!/bin/bash
cd /sources
tar xf attr-2.5.1.tar.gz
cd attr-2.5.1
./configure --prefix=/usr \
--disable-static \
--sysconfdir=/etc \
--docdir=/usr/share/doc/attr-2.5.1
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf attr-2.5.1