Update curl

This commit is contained in:
Tim Angus committed 2025-07-22 14:57:01 +01:00
1 parent 279f4e5239
commit dfa0e23395
20 files changed
+3305 -2744

No files matched your search

+12 -9
View File
@@ -9,8 +9,10 @@ CODE="${ROOT}/code"
prepare()
{
local URL="$1"
local INCLUDE_PATTERN="$2"
local EXCLUDE_PATTERN="$3"
local COMMAND="$2"
local INCLUDE_PATTERN="$3"
local EXCLUDE_PATTERN="$4"
local FILENAME=$(basename ${URL})
echo ${FILENAME}
@@ -21,16 +23,17 @@ prepare()
(
cd ${CODE}/${DIR}
[ -f ./configure ] && ./configure
[[ -n "$COMMAND" ]] && eval "$COMMAND"
find . -type f -not -regex ${INCLUDE_PATTERN} -delete
find . -type f -regex ${EXCLUDE_PATTERN} -delete
find . -type d -empty -delete
)
}
prepare "https://downloads.xiph.org/releases/ogg/libogg-1.3.6.tar.gz" "\./\(include\|src\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.gz" "\./\(include\|lib\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/opus/opus-1.5.2.tar.gz" "\./\(celt\|include\|silk\|src\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz" "\./\(include\|src\)/.*\.[ch]"
prepare "https://zlib.net/zlib-1.3.1.tar.gz" "./[^/]*\.[ch]"
prepare "https://www.ijg.org/files/jpegsrc.v9f.tar.gz" "./\(j.*\.c\|.*\.h\)" "./jmem\(ansi\|dos\|mac\|name\)\.c"
prepare "https://downloads.xiph.org/releases/ogg/libogg-1.3.6.tar.gz" "./configure" "\./\(include\|src\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.gz" "./configure" "\./\(include\|lib\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/opus/opus-1.5.2.tar.gz" "./configure" "\./\(celt\|include\|silk\|src\)/.*\.[ch]"
prepare "https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz" "./configure" "\./\(include\|src\)/.*\.[ch]"
prepare "https://zlib.net/zlib-1.3.1.tar.gz" "./configure" "./[^/]*\.[ch]"
prepare "https://www.ijg.org/files/jpegsrc.v9f.tar.gz" "./configure" "./\(j.*\.c\|.*\.h\)" "./jmem\(ansi\|dos\|mac\|name\)\.c"
prepare "https://curl.se/download/curl-8.15.0.tar.gz" "./configure --with-openssl" "\.*/include/.*\.h"