LFS wget-curl 1.0

This commit is contained in:
fosslinux 2024-01-28 14:08:08 +11:00
parent b0f1399c7d
commit c7ca9bc0a3
4 changed files with 14 additions and 0 deletions

View file

@ -329,6 +329,7 @@ extract_file() {
# Default unpacking function that unpacks all sources.
default_src_unpack() {
local first_line found
# Handle the first one differently
first_line=$(head -n 1 ../sources)
# Again, we want to split out into words.
@ -339,10 +340,14 @@ default_src_unpack() {
if ! [ -e "${dirname}" ]; then
for i in *; do
if [ -d "${i}" ]; then
found="yes"
dirname="${i}"
break
fi
done
if [ -z "${found}" ]; then
dirname="."
fi
fi
# shellcheck disable=SC2162
tail -n +2 ../sources | while read line; do

View file

@ -208,3 +208,4 @@ build: libxslt-1.1.38
build: docbook-xml-4.5
build: docbook-xsl-nons-1.79.2
improve: populate_catalog
build: wget-curl-1.0

View file

@ -0,0 +1,7 @@
src_compile() {
:
}
src_install() {
install -m 755 -D wget "${DESTDIR}/usr/bin/wget"
}

View file

@ -0,0 +1 @@
https://github.com/somasis/wget-curl/raw/c7469018de80788ce255502b1a05700ad0d71446/wget fadbfe776526a1f2aa530a2bcf1f279c6feb49b0663e87842833c76409889d9b