mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
22 lines
249 B
Bash
22 lines
249 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf libcap-2.65.tar.xz
|
|
cd libcap-2.65
|
|
|
|
sed -i '/install -m.*STA/d' libcap/Makefile
|
|
|
|
make prefix=/usr lib=lib
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make test
|
|
|
|
make prefix=/usr lib=lib install
|
|
|
|
cd /sources
|
|
rm -rf libcap-2.65
|
|
|