lfs-buildscripts/CH8Build/CH08.57-check.sh
YellowJacketLinux 907484e0ca more packages
2024-10-06 10:55:01 -07:00

31 lines
559 B
Bash

#!/bin/bash
source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d check-${check_version} ] && rm -rf check-${check_version}
tar -zxf ${check_tarball}
cd check-${check_version}
./configure --prefix=/usr \
--disable-static
make
if [ $? -ne 0 ]; then
myfail "Failed building check"
fi
echo "running check make check"
make check > ${GLSOURCES}/check.check 2>&1
make docdir=/usr/share/doc/check-${check_version} install
if [ $? -ne 0 ]; then
myfail "Failed installing check"
fi