lfs-buildscripts/CH8Build/CH08.23-acl.sh

38 lines
536 B
Bash
Raw Normal View History

2024-10-05 06:46:05 +08:00
#!/bin/bash
source versions.sh
GLSOURCES="/sources"
2024-10-09 03:43:22 +08:00
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
2024-10-05 06:46:05 +08:00
[ -d acl-${acl_version} ] && rm -rf acl-${acl_version}
tar -Jxf ${acl_tarball}
cd acl-${acl_version}
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/acl-${acl_version}
make
if [ $? -ne 0 ]; then
myfail "Failed building acl"
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing acl"
fi
2024-10-08 12:28:55 +08:00
popd
# cleanup
pushd $GLSOURCES
rm -rf acl-${acl_version}
popd