mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
LFS wget-curl 1.0
This commit is contained in:
parent
b0f1399c7d
commit
c7ca9bc0a3
4 changed files with 14 additions and 0 deletions
|
|
@ -329,6 +329,7 @@ extract_file() {
|
||||||
|
|
||||||
# Default unpacking function that unpacks all sources.
|
# Default unpacking function that unpacks all sources.
|
||||||
default_src_unpack() {
|
default_src_unpack() {
|
||||||
|
local first_line found
|
||||||
# Handle the first one differently
|
# Handle the first one differently
|
||||||
first_line=$(head -n 1 ../sources)
|
first_line=$(head -n 1 ../sources)
|
||||||
# Again, we want to split out into words.
|
# Again, we want to split out into words.
|
||||||
|
|
@ -339,10 +340,14 @@ default_src_unpack() {
|
||||||
if ! [ -e "${dirname}" ]; then
|
if ! [ -e "${dirname}" ]; then
|
||||||
for i in *; do
|
for i in *; do
|
||||||
if [ -d "${i}" ]; then
|
if [ -d "${i}" ]; then
|
||||||
|
found="yes"
|
||||||
dirname="${i}"
|
dirname="${i}"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ -z "${found}" ]; then
|
||||||
|
dirname="."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC2162
|
# shellcheck disable=SC2162
|
||||||
tail -n +2 ../sources | while read line; do
|
tail -n +2 ../sources | while read line; do
|
||||||
|
|
|
||||||
|
|
@ -208,3 +208,4 @@ build: libxslt-1.1.38
|
||||||
build: docbook-xml-4.5
|
build: docbook-xml-4.5
|
||||||
build: docbook-xsl-nons-1.79.2
|
build: docbook-xsl-nons-1.79.2
|
||||||
improve: populate_catalog
|
improve: populate_catalog
|
||||||
|
build: wget-curl-1.0
|
||||||
|
|
|
||||||
7
steps/wget-curl-1.0/pass1.sh
Normal file
7
steps/wget-curl-1.0/pass1.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
src_compile() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
install -m 755 -D wget "${DESTDIR}/usr/bin/wget"
|
||||||
|
}
|
||||||
1
steps/wget-curl-1.0/sources
Normal file
1
steps/wget-curl-1.0/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
https://github.com/somasis/wget-curl/raw/c7469018de80788ce255502b1a05700ad0d71446/wget fadbfe776526a1f2aa530a2bcf1f279c6feb49b0663e87842833c76409889d9b
|
||||||
Loading…
Add table
Add a link
Reference in a new issue