mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-01-23 14:32:20 +08:00
build wget and dependencies
This commit is contained in:
parent
523b33f524
commit
baac61bfd3
@ -89,9 +89,12 @@ getSource "${kmod_dnl}" "${kmod_sha256}" "${kmod_tarball}"
|
||||
getSource "${less_dnl}" "${less_sha256}" "${less_tarball}"
|
||||
getSource "${libcap_dnl}" "${libcap_sha256}" "${libcap_tarball}"
|
||||
getSource "${libffi_dnl}" "${libffi_sha256}" "${libffi_tarball}"
|
||||
getSource "${libidn2_dnl}" "${libidn2_sha256}" "${libidn2_tarball}"
|
||||
getSource "${libpipeline_dnl}" "${libpipeline_sha256}" "${libpipeline_tarball}"
|
||||
getSource "${libpsl_dnl}" "${libpsl_sha256}" "${libpsl_tarball}"
|
||||
getSource "${libressl_dnl}" "${libressl_sha256}" "${libressl_tarball}"
|
||||
getSource "${libtool_dnl}" "${libtool_sha256}" "${libtool_tarball}"
|
||||
getSource "${libunistring_dnl}" "${libunistring_sha256}" "${libunistring_tarball}"
|
||||
getSource "${libxcrypt_dnl}" "${libxcrypt_sha256}" "${libxcrypt_tarball}"
|
||||
getSource "${linux_lts_dnl}" "${linux_lts_sha256}" "${linux_lts_tarball}"
|
||||
getSource "${lz4_dnl}" "${lz4_sha256}" "${lz4_tarball}"
|
||||
@ -127,6 +130,7 @@ getSource "${texinfo_dnl}" "${texinfo_sha256}" "${texinfo_tarball}"
|
||||
getSource "${tzdata_dnl}" "${tzdata_sha256}" "${tzdata_tarball}"
|
||||
getSource "${util_linux_dnl}" "${util_linux_sha256}" "${util_linux_tarball}"
|
||||
getSource "${vim_dnl}" "${vim_sha256}" "${vim_tarball}"
|
||||
getSource "${wget_dnl}" "${wget_sha256}" "${wget_tarball}"
|
||||
getSource "${wheel_dnl}" "${wheel_sha256}" "${wheel_tarball}"
|
||||
getSource "${xml_parser_dnl}" "${xml_parser_sha256}" "${xml_parser_tarball}"
|
||||
getSource "${xz_dnl}" "${xz_sha256}" "${xz_tarball}"
|
||||
|
42
CH8Build/BLFS.04-libunistring.sh
Normal file
42
CH8Build/BLFS.04-libunistring.sh
Normal file
@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="/sources"
|
||||
|
||||
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
[ -d libunistring-${libunistring_version} ] && rm -rf libunistring-${libunistring_version}
|
||||
|
||||
tar -Jxf ${libunistring_tarball}
|
||||
|
||||
cd libunistring-${libunistring_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/libunistring-${libunistring_version}
|
||||
|
||||
make
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building libunistring"
|
||||
fi
|
||||
|
||||
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
|
||||
echo "running libunistring make check"
|
||||
make check > ${GLSOURCES}/libunistring.check.log 2>&1
|
||||
fi
|
||||
|
||||
make install
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing libunistring"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
# cleanup
|
||||
|
||||
pushd $GLSOURCES
|
||||
|
||||
rm -rf libunistring-${libunistring_version}
|
||||
|
||||
popd
|
36
CH8Build/BLFS.05-libidn2.sh
Normal file
36
CH8Build/BLFS.05-libidn2.sh
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="/sources"
|
||||
|
||||
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
[ -d libidn2-${libidn2_version} ] && rm -rf libidn2-${libidn2_version}
|
||||
|
||||
tar -zxf ${libidn2_tarball}
|
||||
|
||||
cd libidn2-${libidn2_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static
|
||||
|
||||
make
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building libidn2"
|
||||
fi
|
||||
|
||||
make install
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing libidn2"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
# cleanup
|
||||
|
||||
pushd $GLSOURCES
|
||||
|
||||
rm -rf libidn2-${libidn2_version}
|
||||
|
||||
popd
|
37
CH8Build/BLFS.06-libpsl.sh
Normal file
37
CH8Build/BLFS.06-libpsl.sh
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="/sources"
|
||||
|
||||
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
[ -d libpsl-${libpsl_version} ] && rm -rf libpsl-${libpsl_version}
|
||||
|
||||
tar -zxf ${libpsl_tarball}
|
||||
|
||||
cd libpsl-${libpsl_version}
|
||||
|
||||
mkdir build && cd build
|
||||
|
||||
meson setup --prefix=/usr --buildtype=release
|
||||
|
||||
ninja
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building libpsl"
|
||||
fi
|
||||
|
||||
ninja install
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing libpsl"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
# cleanup
|
||||
|
||||
pushd $GLSOURCES
|
||||
|
||||
rm -rf libpsl-${libpsl_version}
|
||||
|
||||
popd
|
37
CH8Build/BLFS.07-wget.sh
Normal file
37
CH8Build/BLFS.07-wget.sh
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
source versions.sh
|
||||
|
||||
GLSOURCES="/sources"
|
||||
|
||||
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||
|
||||
[ -d wget-${wget_version} ] && rm -rf wget-${wget_version}
|
||||
|
||||
tar -zxf ${wget_tarball}
|
||||
|
||||
cd wget-${wget_version}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-ssl=openssl
|
||||
|
||||
make
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed building wget"
|
||||
fi
|
||||
|
||||
make install
|
||||
if [ $? -ne 0 ]; then
|
||||
myfail "Failed installing wget"
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
# cleanup
|
||||
|
||||
pushd $GLSOURCES
|
||||
|
||||
rm -rf wget-${wget_version}
|
||||
|
||||
popd
|
@ -490,6 +490,46 @@ else
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
/bin/bash BLFS.04-libunistring.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed BLFS.04-libunistring.sh"
|
||||
exit 1
|
||||
else
|
||||
echo "BLFS Libunistring Install Complete [83/86]"
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
/bin/bash BLFS.05-libidn2.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed BLFS.05-libidn2.sh"
|
||||
exit 1
|
||||
else
|
||||
echo "BLFS Libisn2 Install Complete [84/86]"
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
/bin/bash BLFS.06-libpsl.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed BLFS.06-libpsl.sh"
|
||||
exit 1
|
||||
else
|
||||
echo "BLFS Libpsl Install Complete [85/86]"
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
/bin/bash BLFS.07-wget.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed BLFS.07-wget.sh"
|
||||
exit 1
|
||||
else
|
||||
echo "BLFS Wget Install Complete [86/86]"
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
#stripping
|
||||
|
||||
/bin/bash CH08.80-stripping.sh > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user