Files
MyLFS/example_extension/curl.sh
2022-04-30 16:09:49 -04:00

27 lines
540 B
Bash

# cURL
./configure --prefix=/usr \
--disable-static \
--with-openssl \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs
make
if $RUN_TESTS
then
set +e
make test
set -e
fi
make install
rm -rf docs/examples/.deps
find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
install -d -m755 /usr/share/doc/curl-7.81.0
cp -R docs/* /usr/share/doc/curl-7.81.0